mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[GH-ISSUE #1098] Character '%' is not accepted on query parameter value #382
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#382
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 @blikblum on GitHub (Aug 19, 2020).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/1098
Describe the bug
Adding a query parameter with character '%' gives an error "URIError: malformed URI sequence"
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A request should be sent with the query param value encoded: e.g: http://localhost/people?name=ELIAS%25
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
@liyasthomas commented on GitHub (Aug 20, 2020):
Must be an issue with
encodeURIComponent(). Will look into it ASAP.@liyasthomas commented on GitHub (Aug 20, 2020):
This issue seems to be quite weird. I just tested this on my phone's browser and it is working as expected.
@blikblum can try to replicate this from your phone's browser?
EDIT: Nevermind. Fixed it. 👍