mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[PR #4888] [MERGED] fix(desktop): fix missing ca certs when client certs are not present #4979
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#4979
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/4888
Author: @CuriousCorrelation
Created: 3/14/2025
Status: ✅ Merged
Merged: 3/19/2025
Merged by: @jamesgeorge007
Base:
patch← Head:fix/desktop-native-interceptor-domain-settings📝 Commits (1)
cb16ab6fix(desktop): avoid flatmap early exit bind📊 Changes
1 file changed (+22 additions, -24 deletions)
View changed files
📝
packages/hoppscotch-common/src/helpers/functional/domain-settings.ts(+22 -24)📄 Description
This PR fixes essentially an
&&op on certs domain settings to||.Notes to reviewer
Before the fix
When you set CA certificates for
Nativeinterceptor in the domain settings sectionsecurityobjectYou'll see the server is still untrusted (error about self-signed certs).
Now if you were to add client certificates (related or unrelated, doesn't matter)
securityobject correctly populatedAfter the fix
What we should see is the un-trusted server being trusted by the CA certs (no error message about self-signed certs) and the server returning successful response with a message saying perhaps the client certs are missing:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.