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

Mike Jumper closed GUACAMOLE-478.
---------------------------------
    Resolution: Fixed

Line endings within the clipboard can now be automatically normalized for RDP 
connections via the {{normalize-clipboard}} parameter, which renders as "Line 
endings:" within the "Clipboard" section in the admin UI when editing an RDP 
connection:

!guac-normalize-clipboard.png!

Possible values are:

* (blank) or {{preserve}} - Do not alter line endings within the clipboard 
(default behavior)
* {{unix}} - Automatically transform line endings to Unix-style line endings 
(LF).
* {{windows}} - Automatically transform line endings to Windows-style line 
endings (CRLF).

If using RDP to connect to a Windows machine, you'll probably want to set this 
parameter to {{windows}}. If connecting to a server running XRDP, you'll 
probably want to set this to {{unix}}. For other RDP servers, the best choice 
will likely vary.

> RDP clipboard uses incorrect newline characters
> -----------------------------------------------
>
>                 Key: GUACAMOLE-478
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-478
>             Project: Guacamole
>          Issue Type: Bug
>          Components: RDP
>            Reporter: Amarjeet Singh
>            Assignee: Mike Jumper
>            Priority: Minor
>             Fix For: 1.4.0
>
>         Attachments: guac-normalize-clipboard.png, 
> guacamole_clipboard_interfering_with_windows_newlines.mp4
>
>
> With the RDP protocol originating from Windows, the format of text clipboard 
> contents is assumed to use Windows-style newline characters (CR+LF). 
> Guacamole currently does not attempt to translate newline characters, sending 
> the format used within the received clipboard stream. This means that 
> applications running within RDP which only support Windows-style newlines, 
> such as Notepad, fail to handle received clipboard data.
> Applications which can handle both UNIX-style and Windows-style newline 
> characters are unaffected.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to