Bug 362223 - Websocket client fails to send query parameters
This commit is contained in:
parent
464c297c01
commit
903c5dcbbf
|
@ -315,8 +315,15 @@ public class WebSocketClientFactory extends AggregateLifeCycle
|
|||
});
|
||||
|
||||
String path=_future.getURI().getPath();
|
||||
if (path==null || path.length()==0)
|
||||
if (path==null || path.length()==0)
|
||||
{
|
||||
path="/";
|
||||
}
|
||||
|
||||
if(_future.getURI().getRawQuery() != null)
|
||||
{
|
||||
path += "?" + _future.getURI().getRawQuery();
|
||||
}
|
||||
|
||||
String origin = future.getOrigin();
|
||||
|
||||
|
|
Loading…
Reference in New Issue