Skip to content

ws url query parameter is missing. #19

Open
@DanielYWoo

Description

@DanielYWoo

For a ws url with query parameters like ws://localhost/test?uid=abc, the current implementation forgets to append the query string in the _writeHandshake method.

{{{
private void _writeHandshake() throws IOException {
String path = this.uri.getPath();
if (path.indexOf("/") != 0) {
path = "/" + path;
}
// code to add, simple fix:
if (uri.getRawQuery() != null) {
path += "?" + uri.getRawQuery();
}
}}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions