ALT Linux Bugzilla
– Attachment 8276 Details for
Bug 37186
Не умеет url-encoded переменную http_proxy
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
ParseQuoteWord переменной http_proxy
apt-http_proxy-unquote.patch (text/plain), 498 bytes, created by
Lenar Shakirov
on 2019-09-04 12:06:45 MSK
(
hide
)
Description:
ParseQuoteWord переменной http_proxy
Filename:
MIME Type:
Creator:
Lenar Shakirov
Created:
2019-09-04 12:06:45 MSK
Size:
498 bytes
patch
obsolete
>diff --git a/apt/methods/http.cc b/apt/methods/http.cc >index 99ef7a9..85826cf 100644 >--- a/apt/methods/http.cc >+++ b/apt/methods/http.cc >@@ -302,7 +302,12 @@ bool ServerState::Open() > Proxy = DefProxy; > } > else >- Proxy = getenv("http_proxy"); >+ { >+ string Unquoted; >+ const char *Quoted = getenv("http_proxy"); >+ ParseQuoteWord(Quoted,Unquoted); >+ Proxy = Unquoted; >+ } > > // Parse no_proxy, a , separated list of domains > if (getenv("no_proxy") != 0)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 37186
: 8276