mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[PR #4911] [MERGED] fix(common): normalize headers before final relay #4983
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#4983
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/4911
Author: @CuriousCorrelation
Created: 3/19/2025
Status: ✅ Merged
Merged: 3/19/2025
Merged by: @jamesgeorge007
Base:
patch← Head:fix-native-interceptor-duplicate-header📝 Commits (2)
6405990fix(common): normalize headers before final relay0785038fix(common): missingversionfor native exec📊 Changes
10 files changed (+113 additions, -79 deletions)
View changed files
📝
packages/hoppscotch-agent/src-tauri/Cargo.lock(+68 -58)📝
packages/hoppscotch-common/src/services/oauth/flows/authCode.ts(+1 -0)📝
packages/hoppscotch-common/src/services/oauth/flows/clientCredentials.ts(+1 -0)📝
packages/hoppscotch-common/src/services/oauth/flows/password.ts(+1 -0)📝
packages/hoppscotch-desktop/plugin-workspace/relay/src/content.rs(+15 -5)📝
packages/hoppscotch-desktop/plugin-workspace/relay/src/header.rs(+17 -6)📝
packages/hoppscotch-desktop/plugin-workspace/tauri-plugin-relay/Cargo.lock(+2 -2)📝
packages/hoppscotch-desktop/src-tauri/Cargo.lock(+2 -2)📝
packages/hoppscotch-selfhost-web/package.json(+2 -2)📝
pnpm-lock.yaml(+4 -4)📄 Description
This PR fixes header duplication and non-normalization issues that prevent certain flows including OAuth on stricter servers.
Closes HFE-786
Closes #4905
Issue affects both
Nativeinterceptor on desktop andAgentinterceptor on web, PR aimed to fix both.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.