Skip to content
New issue

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

URL parsing issue if url contains ~ #20

Open
sioked opened this issue Oct 9, 2015 · 1 comment
Open

URL parsing issue if url contains ~ #20

sioked opened this issue Oct 9, 2015 · 1 comment

Comments

@sioked
Copy link

sioked commented Oct 9, 2015

I'm trying to test a request to a URL that contains a ~. For example: http://localhost:3000/users/~. When I make the request via RESTer, the tilde and any characters beyond are stripped from the actual request sent across.

Digging in, it looks like regex being used to parse the URI is being restrictive around some unique values. I'll probably open a PR for my specific issue, but not sure if there's a better URI parsing regex we might want to use instead.

@pjdietz
Copy link
Owner

pjdietz commented Oct 11, 2015

Thanks or catching this! I updated the function that parses the request line, so all characters should now be allowed. Looks for version 1.8.1 in package control soon with the fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants