mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +00:00
UUID output should contain no newline. At least one browser (Konqueror) includes the trailing newline in responseText.
This commit is contained in:
@@ -82,7 +82,7 @@ public abstract class GuacamoleTunnelServlet extends HttpServlet {
|
|||||||
logger.info("Connection from {} succeeded.", request.getRemoteAddr());
|
logger.info("Connection from {} succeeded.", request.getRemoteAddr());
|
||||||
|
|
||||||
try {
|
try {
|
||||||
response.getWriter().println(tunnel.getUUID().toString());
|
response.getWriter().print(tunnel.getUUID().toString());
|
||||||
}
|
}
|
||||||
catch (IOException e) {
|
catch (IOException e) {
|
||||||
throw new GuacamoleException(e);
|
throw new GuacamoleException(e);
|
||||||
|
Reference in New Issue
Block a user