mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[PR #4412] [MERGED] feat: add the ability to configure query params encoding for requests #4786
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#4786
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?
📋 Pull Request Information
Original PR: https://github.com/hoppscotch/hoppscotch/pull/4412
Author: @Pranay-Pandey
Created: 10/7/2024
Status: ✅ Merged
Merged: 10/23/2024
Merged by: @jamesgeorge007
Base:
next← Head:feat-param-encoding📝 Commits (10+)
42d2441feat: add parameter encoding in requestsd5437f7chore: add encode in schema validation1f5dff8chore: add a section called general in settings331875bchore: add i18n texts15652eachore: simplify if logic8d7a258fix: preProcessRequest double encodeing bug74b4616fix: preserve multiple values for the same query param keyd72f9dcchore: update copytext258bf61fix: prevent tooltip message from getting clippedd6c06a6chore: add fallback for settings schema📊 Changes
11 files changed (+187 additions, -108 deletions)
View changed files
📝
packages/hoppscotch-common/locales/en.json(+11 -1)📝
packages/hoppscotch-common/src/components.d.ts(+1 -0)➕
packages/hoppscotch-common/src/components/smart/EncodingPicker.vue(+60 -0)📝
packages/hoppscotch-common/src/newstore/settings.ts(+6 -0)📝
packages/hoppscotch-common/src/pages/settings.vue(+47 -21)📝
packages/hoppscotch-common/src/platform/std/interceptors/agent/index.ts(+1 -28)📝
packages/hoppscotch-common/src/platform/std/interceptors/browser.ts(+2 -31)📝
packages/hoppscotch-common/src/platform/std/interceptors/extension.ts(+1 -26)➕
packages/hoppscotch-common/src/platform/std/interceptors/helpers.ts(+54 -0)📝
packages/hoppscotch-common/src/platform/std/interceptors/proxy.ts(+1 -1)📝
packages/hoppscotch-common/src/services/persistence/validation-schemas/index.ts(+3 -0)📄 Description
Closes #2829
Add optional setting of encoding the URL parameters in the request. A new setting option is introduced which can be toggled between auto, disable and auto.
Also have fixed the bug with preProcessRequest function where double encoding was happening.
What's changed
Generalintroduced and moved language, experiments section withinPreview
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.