[
https://issues.apache.org/jira/browse/GUACAMOLE-2036?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mike Jumper reopened GUACAMOLE-2036:
------------------------------------
This is causing a regression with RDP connections due to a mismatch between the
maximum number of instruction elements for guacamole-server (128) and the
maximum number of instruction elements for guacamole-client (64). The initial
{{args}} instruction for RDP connections does not exceed 128, but is definitely
greater than 64.
The limit was increased to 128 back in [guacamole-server commit
adcdb080|https://github.com/apache/guacamole-server/commit/adcdb080cbf200a29d08dd61817d48abadc37d93]
(part of GUACAMOLE-587, way back in 1.0.0), but no corresponding change was
made to {{GuacamoleParser}} in guacamole-common. This didn’t affect the
handshake because {{ReaderGuacamoleReader}} didn’t historically enforce this
limit, but it does now via {{GuacamoleParser}}.
> Characters involving surrogate pairs in UTF-16 not supported by
> ReaderGuacamoleReader
> -------------------------------------------------------------------------------------
>
> Key: GUACAMOLE-2036
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-2036
> Project: Guacamole
> Issue Type: Bug
> Components: guacamole-common
> Reporter: Alexander Leitner
> Priority: Minor
> Fix For: 1.6.1
>
>
> The {{ReaderGuacamoleReader}} class of guacamole-common does not correctly
> support characters that are represented internally within Java as UTF-16
> surrogate pairs. Attempting to read instructions containing these characters
> leads to parse failures or potentially dropped/mangled instructions.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)