We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Creating a sockjs handler with a prefix that involves a regular expression group breaks parseSessionID because it uses constant match offsets.
parseSessionID
It feels like there are two options:
url.Path
In my situation, I have two prefix paths that I want to be treated equivalently. Let's call them:
/foo/bar /foo
I am attempting to adjust the client, but that's a little out of my control; I originally tried to work around this situation with:
sockjs.NewHandler( "/foo(/bar)?", ... )
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Creating a sockjs handler with a prefix that involves a regular expression group breaks
parseSessionID
because it uses constant match offsets.It feels like there are two options:
url.Path
before attempting the session match.In my situation, I have two prefix paths that I want to be treated equivalently. Let's call them:
I am attempting to adjust the client, but that's a little out of my control; I originally tried to work around this situation with:
The text was updated successfully, but these errors were encountered: