mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Use the correct request syntax for proxied (tunneled) HTTPS requests.
PR: bin/180666 MFC after: 3 days
This commit is contained in:
parent
3c334738ab
commit
ba7c6aec97
1 changed files with 1 additions and 1 deletions
|
|
@ -1581,7 +1581,7 @@ http_request(struct url *URL, const char *op, struct url_stat *us,
|
|||
if (verbose)
|
||||
fetch_info("requesting %s://%s%s",
|
||||
url->scheme, host, url->doc);
|
||||
if (purl) {
|
||||
if (purl && strcasecmp(URL->scheme, SCHEME_HTTPS) != 0) {
|
||||
http_cmd(conn, "%s %s://%s%s HTTP/1.1",
|
||||
op, url->scheme, host, url->doc);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue