Currently proxy_exceptions doesn't support the pattern matching e.g.
if we can add variable_set('proxy_exceptions', array('drupal.org')) it will not by pass
api.drupal.org, instead we need to write the full host(using parse_url) name. So if the attach patch can apply then regular expression can work for the host name as mentioned above

Comments

roynilanjan created an issue. See original summary.

roynilanjan’s picture

Component: base system » other
Status: Active » Needs review
StatusFileSize
new901 bytes

Status: Needs review » Needs work

The last submitted patch, 2: pattern-matching-2612732-1.patch, failed testing.

roynilanjan’s picture

Version: 7.x-dev » 7.41
Status: Needs work » Needs review
roynilanjan’s picture

Version: 7.41 » 7.x-dev
StatusFileSize
new901 bytes

Status: Needs review » Needs work

The last submitted patch, 5: drupal-patternmatching-2612732-1-7x.patch, failed testing.

roynilanjan’s picture

StatusFileSize
new923 bytes
roynilanjan’s picture

Status: Needs work » Needs review
roynilanjan’s picture

Issue summary: View changes
roynilanjan’s picture

roynilanjan’s picture

Issue tags: +drupal.org D7, +drupal 7
marcusml’s picture

StatusFileSize
new619 bytes

I'm submitting a patch which matches the exceptions with fnname() that way you can define your exceptions with wildcards or exact matches ie *.drupal.org matches api.drupal.org, www.drupal.org etc.

Status: Needs review » Needs work

The last submitted patch, 12: pattern-matching-2612732-12.patch, failed testing. View results

marcusml’s picture

Status: Needs work » Needs review
StatusFileSize
new563 bytes
new645 bytes

Status: Needs review » Closed (outdated)

Automatically closed because Drupal 7 security and bugfix support has ended as of 5 January 2025. If the issue verifiably applies to later versions, please reopen with details and update the version.