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

Unexpected behavior when query parameter has no value #126

Open
0x9be00ff1 opened this issue Oct 31, 2017 · 0 comments
Open

Unexpected behavior when query parameter has no value #126

0x9be00ff1 opened this issue Oct 31, 2017 · 0 comments

Comments

@0x9be00ff1
Copy link

0x9be00ff1 commented Oct 31, 2017

Unirest\Request::get('http://example.com/path?a')

Expecting request url: http://example.com/path?a

Actual request url: http://example.com/path?a=

the request url changed after calling Unirest\Request::encodeUrl

but the URI RFC doesn't mandate a format for the query string.

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

1 participant