Kong / Kong/insomnia

Proxy Authentication with support for special characters in password

Open
#2,512 6 comments 0 reactions 0 assignees View on GitHub
A-encoding B-bug needs-triage S-unverified
Dominant language
TypeScript
Stars
40k
Forks
2.4k
Avg merge
2d 13h
Merged PRs (30d)
61

Description

**Describe the bug**
Proxy password can contain special characters such as @,# so on. Current proxy with authentication setting in Insomnia doesn't support special characters.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to 'preference -> http network proxy '
2. Put on url as 'http://user:p@ss#@proxyurlhost:port
3. Do a normal API request
4. See error 'couldn't resolve proxy name'

**Expected behavior**
Proxy with authentication should work with any password.

**Desktop **
- OS: [macOS 10.14.6]
- App Version [2020.3.3]

Contributor guide

Open the contributing guide

Research direction

Start at Preferences → HTTP Network Proxy and trace how the proxy URL is parsed before a normal API request is sent. Reproduce with a password containing characters such as @ or #; done means authenticated proxy requests succeed with those passwords on macOS.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, typescript
Domain
desktop, networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.