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

Daniel D'Angeli commented on GUACAMOLE-2150:
--------------------------------------------

* Client O/S: Windows 11
 * Client Browser: Firefox 143, Chrome 141, Edge 141
 * Protocol(s) in use when you see the issue (Kubernetes, RDP, SSH, Telnet, 
VNC): SSH
 * Remote Server O/S: Ubuntu 22.04 LTS, Ubuntu 24.04 LTS

NOTE: it doesn't seem to happen on Windows 10 when trying to paste on notepad. 
I pasted this:
  guacamole:
    image: guacamole/guacamole: 1.6.0
    environment :
    - GUACAMOLE_LDAP_ENCRYPTION_METHOD: starttls

The result was as expected:

!image-2025-10-07-16-51-57-522.png!

 

I suspect the issue is text coming from a different OS then? Maybe something to 
do with these options (which are the one im using with the affected target)?

!image-2025-10-07-16-53-19-595.png!

I tried other text like this:

[SMTP-1587]
documentation = *** nota: questo server funziona sia per Office 365 che per 
account personali Outlook/Hotmail ***
server_address = smtp.office365.com
server_port = 587
server_starttls = True
local_address = 0.0.0.0 (per consentire richieste da chiunque)

 

Which gets pasted like this on the ubuntu server:

!image-2025-10-07-16-55-43-369.png|width=857,height=266!

But like this on a windows vm:

!image-2025-10-07-16-56-41-600.png!

> Pasting doesn't respect text formatting
> ---------------------------------------
>
>                 Key: GUACAMOLE-2150
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-2150
>             Project: Guacamole
>          Issue Type: Bug
>    Affects Versions: 1.6.0
>         Environment: Docker deployment on Ubuntu server.
>            Reporter: Daniel D'Angeli
>            Priority: Minor
>         Attachments: image-2025-10-03-15-50-49-130.png, 
> image-2025-10-03-16-03-47-402.png, image-2025-10-07-15-41-13-067.png, 
> image-2025-10-07-16-51-57-522.png, image-2025-10-07-16-53-19-595.png, 
> image-2025-10-07-16-55-43-369.png, image-2025-10-07-16-56-41-600.png, 
> immagine (1).png, immagine.png
>
>
> When pasting long text with multiple rows, Guacamole adds an empty line in 
> between the rows breaking text formatting. This doesn't happen with 
> JumpServer, so it's not browser fault.
> Tried both with Firefox and Chrome, same issue.
> For example, this curl command with multiple rows:
> curl [https://www.google.com|https://www.google.com/] \
>   -X GET \
>   -H "User-Agent: Mozilla/5.0" \
>   -H "Accept: text/html" \
>   -L
> Insted of being executed as a single command, is sent to the target as a 
> command per row, resulting in the screenshot attached.
> Another example is this docker-compose,yaml file:
> services :
>   guacamole:
>     image: guacamole/guacamole: 1.6.0
>     environment :
>     - GUACAMOLE_LDAP_ENCRYPTION_METHOD: starttls
>     - GUACAMOLE_LDAP_DISABLE_VERIFY: "true"
>      - JAVA_OPTS: "-Djavax. net . ssl . trustStore=/path/to/cacerts -Djavax. 
> net. ssl. trustStorePassword=changeit"
>  
> This behaviour doesn't allow operators to smoothly work on machines, 
> resulting in a turn off of guacamole in our infrastructure and look for other 
> solutions.
> Feel free to ask anything if needed.
> Regards,
> Daniel D.



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

Reply via email to