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

Trouble with request parameters containing "=" char #156

Closed
WolfgangHG opened this issue May 16, 2024 · 4 comments
Closed

Trouble with request parameters containing "=" char #156

WolfgangHG opened this issue May 16, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@WolfgangHG
Copy link

I use a rest service (not from me ;-)) that unfortunately has a parameter which contains key value pairs:

https://my.com/endpoint?param=filter1=a,filter2=b

The parameter "param" has a string value "filter1=a,filter2=b".

Enter this URL in the request tab, switch to another tab and back again. The URL changes to

https://my.com/endpoint?param=filter1&param=filter1=a,filter2=b

I tried to work around it by masking the second "=" sign:

https://my.com/endpoint?param=filter1%3Da,filter2=b

But this does not work either, and the sent request now is completely weird:

https://my.com/endpoint?param=filter1%3Da%2Cfilter2%3Db&param=filter1&param=filter1%253Da%2Cfilter2%253Db

Is there a workaround for handling this? I hope that this is something that Restfox can fix, but I could not define a rule for URL parameter parsing ;-).

@flawiddsouza flawiddsouza added the bug Something isn't working label May 16, 2024
@flawiddsouza
Copy link
Owner

Thanks for reporting the bug. Let me look into this.

@WolfgangHG
Copy link
Author

Whow, this was fast - the fix probably took less time than writing the issue ;-)!

@flawiddsouza
Copy link
Owner

Fix has been released: https://github.com/flawiddsouza/Restfox/releases/tag/v0.16.0. Please check and let me know if it's working correctly now.

@WolfgangHG
Copy link
Author

Works perfectly, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants