tiger154 / jwebsocket

Automatically exported from code.google.com/p/jwebsocket
1 stars 0 forks source link

URL separator characters should be configurable in jWebSocket.xml #104

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Currently the arguments in the URL need to be passed in the following notation
var lURL = jws.JWS_SERVER_URL + "/;arg1=value1,arg2=value2";
Unlike the servlet conventions (with which we noticed issues with certain 
browsers in terms of the websocket URLs) we currently use the semicolon (;) as 
divider between the path and the argument list and the comma (,) as divider for 
the arguments.
So something like ws://host:port/path?arg1=val1&arg2=val2 needs to be passed as 
ws://host:port/path/;arg1=val1,arg2=val2
But, of course, the developers should free to change the separator chars to 
their needs (in the JWebSocketCommonConstants class).

Original issue reported on code.google.com by fivefeetfurther@gmail.com on 29 Oct 2010 at 3:44