mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #4971] [bug]: inappropriate URL decoding #1884
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#1884
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dlipofsky on GitHub (Apr 8, 2025).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4971
Originally assigned to: @CuriousCorrelation on GitHub.
Is there an existing issue for this?
Current behavior
With Hoppscotch 25.3.0 when I send
http://localhost:8080/%7Bfoo%7Dit decodes the URL encodings before sending, as you can see from the netcat output
Compare to curl
curl http://localhost:8080/%7Bfoo%7Dwhich gives
Hoppscotch should not be modifying the URL before sending it.
Steps to reproduce
http://localhost:8080/%7Bfoo%7DLogs and Screenshots
Environment
Production
Hoppscotch Version
Local
Interceptor
Not Applicable - Issue not related to network requests
Browsers Affected
No response
Operating System
MacOS
Additional Information
No response
@dlipofsky commented on GitHub (Apr 11, 2025):
I also compared to Apidog, which does the right thing.
@Ink230 commented on GitHub (Apr 16, 2025):
Recently upgraded from some 2024.x version to 2025.3.0. This issue is now occurring for me as well.
I've tried enabling and disabling url encoding in settings to no resolution.
Behaviour is different to curl or other API clients.
@dlipofsky commented on GitHub (Apr 28, 2025):
Has anyone read this? We've got confirmation from a second user of a clear regression.
@CuriousCorrelation commented on GitHub (May 8, 2025):
Hi @dlipofsky and @Ink230,
Great news! This issue has been fixed in PR #5041, which has now been merged and is available in Hoppscotch v25.4.2-0.
Now URLs with encoded characters (like
%7Bfoo%7D) will now remain properly encoded when sent. Plus parameter encoding has been improved to follow RFC 3986 standards and the implementation now correctly handles differentENCODE_MODEsettings as well.Thank you for reporting and providing clear reproduction steps, they made it much easier to identify and fix the problem.
Please update to
v25.4.2and let me know if you encounter any further issues. If you find that this problem persists after updating, please feel free to reopen this issue with details of what you're experiencing.I'll go ahead and close this issue now that it's resolved.