mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
MFC 198339:
Fix the NO_PROXY handling. PR: 139751
This commit is contained in:
parent
baa1e3c69a
commit
9e5aec3978
1 changed files with 1 additions and 1 deletions
|
|
@ -772,7 +772,7 @@ fetch_no_proxy_match(const char *host)
|
|||
break;
|
||||
|
||||
d_len = q - p;
|
||||
if (d_len > 0 && h_len > d_len &&
|
||||
if (d_len > 0 && h_len >= d_len &&
|
||||
strncasecmp(host + h_len - d_len,
|
||||
p, d_len) == 0) {
|
||||
/* domain name matches */
|
||||
|
|
|
|||
Loading…
Reference in a new issue