[
https://issues.apache.org/jira/browse/GUACAMOLE-478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17462305#comment-17462305
]
Mike Jumper commented on GUACAMOLE-478:
---------------------------------------
Just tested against XRDP, and I can confirm that there will need to be some
sort of configuration option allowing the server newline format to be defined.
With both Windows RDP and XRDP, the newlines within the clipboard are passed
through to the server-side applications, with the behavior at that point
depending on the application.
Any sort of normalization of clipboard newlines will need to be done between
the RDP server and the Guacamole client, within Guacamole's RDP support itself,
presumably through some sort of {{clipboard-newline-format}} option (or
similar), where the default behavior is the apparent standard behavior of the
RDP server: to preserve any newlines as they are.
> 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: 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)