mirror of
https://github.com/curl/curl.git
synced 2026-08-02 19:40:34 +03:00
url: do not URL decode proxy crendentials
The two options CURLOPT_PROXYUSERNAME and CURLOPT_PROXYPASSWORD set the actual names as-is, not URL encoded. Modified test 503 to use percent-encoded strings in the credential strings that should be passed on as-is. Reported-by: Sergey Ogryzkov Fixes #13265 Closes #13270
This commit is contained in:
parent
29bfde9fea
commit
d5e83eb745
4 changed files with 30 additions and 17 deletions
|
|
@ -73,7 +73,7 @@ moo
|
|||
<proxy>
|
||||
CONNECT machine.%TESTNUMBER:%HTTPPORT HTTP/1.1
|
||||
Host: machine.%TESTNUMBER:%HTTPPORT
|
||||
Proxy-Authorization: Basic dGVzdDppbmc=
|
||||
Proxy-Authorization: Basic dGVzdCUyMDppbmclNDE=
|
||||
Proxy-Connection: Keep-Alive
|
||||
|
||||
[DISCONNECT]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue