[ 
https://issues.apache.org/jira/browse/GUACAMOLE-2043?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eugen Hartmann updated GUACAMOLE-2043:
--------------------------------------
    Description: 
- Configure session recording for a Telnet or SSH connection
 - Start the connection
 - Change the terminal window title

{noformat}
echo -ne "\033]0;Äpfel\007"
{noformat}
 - Run a couple of more commands and finish the session
 - Go to the session history and try to playback the session

The playback will stop at the moment when you ENTER the command to change 
terminal window title.

When you investigate the issue, you will see that we store frames in a 
JavaScript Blob as a binary data but the frame start and end position is 
calculated in characters. In case of unicode (multibyte) characters the start 
and end positions will be wrong.

  was:
- Configure session recording for a Telnet or SSH connection
 - Start the connection
 - Change the terminal window title

{noformat}
echo -ne "\033]0;Äpfel\007"
{noformat}
 - Run a couple of more commands and finish the session
 - Go to the session history and try to playback the session

The playback will stop at the moment when you ENTER the command to change 
terminal window title.

When you investigate the issue. You will see that we store frames in a 
JavaScript Blob as a binary data but the frame start and end position is 
calculated in characters. In case of unicode (multibyte) characters the start 
and end positions will be wrong.


> Recording playback fails when an instruction have multibyte characters
> ----------------------------------------------------------------------
>
>                 Key: GUACAMOLE-2043
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-2043
>             Project: Guacamole
>          Issue Type: Bug
>          Components: guacamole
>    Affects Versions: 1.5.5
>            Reporter: Eugen Hartmann
>            Priority: Major
>
> - Configure session recording for a Telnet or SSH connection
>  - Start the connection
>  - Change the terminal window title
> {noformat}
> echo -ne "\033]0;Äpfel\007"
> {noformat}
>  - Run a couple of more commands and finish the session
>  - Go to the session history and try to playback the session
> The playback will stop at the moment when you ENTER the command to change 
> terminal window title.
> When you investigate the issue, you will see that we store frames in a 
> JavaScript Blob as a binary data but the frame start and end position is 
> calculated in characters. In case of unicode (multibyte) characters the start 
> and end positions will be wrong.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to