mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #4253] [bug]: Square brackets are not escaped in Curl generated code #1537
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#1537
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 @Macek007 on GitHub (Aug 12, 2024).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4253
Is there an existing issue for this?
Current behavior
When i use square brackets [] in GET parameters, e.g.
https://localhost:5034/api/admin/translations?trash=0&page[size]=2&filter[inDomain]=admin_client&sort[0][field]=id&sort[0][order]=ascit should be escaped in generated in Curl code like this
Steps to reproduce
I any GET request
Environment
Production
Version
Self-hosted
@markwaterbury commented on GitHub (Apr 8, 2025):
I am not seeing any URL encoding happening for query parameters, so I think this applies to more than just square brackets.