UUID output should contain no newline. At least one browser (Konqueror) includes the trailing newline in responseText.

This commit is contained in:
Michael Jumper
2011-11-20 00:44:39 -08:00
parent 73b7304ab7
commit c927d9f2ff

View File

@@ -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);