UUID output should contain no newline. At least one browser (Konqueror) includes the trailing newline in responseText.
This commit is contained in:
1 parent
73b7304ab7
commit
c927d9f2ff
1 file changed
+1
-1
+1
-1
@@ -82,7 +82,7 @@ public abstract class GuacamoleTunnelServlet extends HttpServlet {
|
||||
logger.info("Connection from {} succeeded.", request.getRemoteAddr());
|
||||
|
||||
try {
|
||||
response.getWriter().println(tunnel.getUUID().toString());
|
||||
response.getWriter().print(tunnel.getUUID().toString());
|
||||
}
|
||||
catch (IOException e) {
|
||||
throw new GuacamoleException(e);
|
||||
|
||||
Reference in new issue
Block a user