You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@guacamole.apache.org by "Michael Jumper (JIRA)" <ji...@apache.org> on 2019/03/01 18:07:00 UTC

[jira] [Commented] (GUACAMOLE-739) Character limit on RDP Clipboard

    [ https://issues.apache.org/jira/browse/GUACAMOLE-739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16781944#comment-16781944 ] 

Michael Jumper commented on GUACAMOLE-739:
------------------------------------------

This is not a bug; the 256K limit on clipboard size is intentional. See:

* https://github.com/apache/guacamole-server/blob/5e2ddb890a90e840a419f4878381b0c511cc6f25/src/protocols/rdp/client.h#L67-L70
* https://github.com/apache/guacamole-server/blob/5e2ddb890a90e840a419f4878381b0c511cc6f25/src/protocols/ssh/client.h#L25-L28
* https://github.com/apache/guacamole-server/blob/5e2ddb890a90e840a419f4878381b0c511cc6f25/src/protocols/telnet/client.h#L32-L35
* https://github.com/apache/guacamole-server/blob/5e2ddb890a90e840a419f4878381b0c511cc6f25/src/protocols/vnc/client.h#L52-L55

{quote}
... the remote session appears to have a character limit as apposed to the previous version.
{quote}

The 256K limit has actually been in place for roughly five years.


> Character limit on RDP Clipboard
> --------------------------------
>
>                 Key: GUACAMOLE-739
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-739
>             Project: Guacamole
>          Issue Type: Bug
>          Components: guacamole, guacamole-client
>    Affects Versions: 1.0.0
>         Environment: Guacamole Host: Ubuntu Server 18.04
> Hardware: 2 Cores & 4GB RAM
> Guac Client: 1.0.0 Release
> Guac Server: 1.0.0 Release
> Tested on Chrome 72.0.3626.109 64-bit, Windows 10 Professional
>            Reporter: Gary Miller
>            Priority: Minor
>
> When attempting to use the new clipboard API, copying and pasting from the clipboard in the remote session appears to have a character limit as apposed to the previous version. To test this I created a text document and continuously filled the file until I got to the point in which the clip board functionality ceased. 
>  
> Based on my testing, the clipboard would not copy text after the selection content exceeds around 262,000 characters, I removed /r & /n characters just to eliminate the possibility of the bug being related to new lines specifically and I can confirm that this issue occurs even if a single line exceeds the aforementioned value. 
>  
> h4.  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)