Summary: | proxy.cgi: wildcard domains not accepted | ||
---|---|---|---|
Product: | IPFire | Reporter: | Bernhard Bitsch <bbitsch> |
Component: | --- | Assignee: | Adolf Belka <adolf.belka> |
Status: | CLOSED FIXED | QA Contact: | |
Severity: | Minor Usability | ||
Priority: | - Unknown - | CC: | adolf.belka, michael.tremer, p27m, peter.mueller |
Version: | 2 | ||
Hardware: | unspecified | ||
OS: | Unspecified | ||
See Also: | https://bugzilla.ipfire.org/show_bug.cgi?id=12925 |
Description
Bernhard Bitsch
2022-09-20 11:05:43 UTC
The right match is $domainname =~ m/^\*\.([^\*]*)\*?/ Patch submitted to dev mailing list and patchwork. https://lists.ipfire.org/pipermail/development/2022-December/015005.html https://patchwork.ipfire.org/project/ipfire/patch/20221219085446.2304-1-adolf.belka@ipfire.org/ Missed a couple of brackets off in the first version so v2 patch version submitted https://lists.ipfire.org/pipermail/development/2022-December/015006.html https://patchwork.ipfire.org/project/ipfire/patch/20221219091236.3427-1-adolf.belka@ipfire.org/ Core Update 173 Testing has been released https://blog.ipfire.org/post/ipfire-2-27-core-update-173-is-available-for-testing Checked the proxy.cgi file in my CU173 Testing updated system and it does not have the change in it. Running grep on /var/log/pakfire/update-core-upgrade-173.log looking for proxy.cgi does not find any reference. Thank you for flagging this. Indeed, I forgot to ship proxy.cgi, and have just added a patch for this, which should land in "master" soon. https://git.ipfire.org/?p=ipfire-2.x.git;a=commit;h=7b7a1aac7107f89f1c8756d01ccdf70f06e41471 Sorry @Peter, not sure why I said I had looked in proxy.cgi for the change. That is where the change is experienced but the change itself is in general-functions.pl However general-functions.pl was also in the filelists/files directory but also didn't get updated. I retested, with a new vm clone, doing the Core Update to 173 Testing with the latest updates in master. (Build: master/deb11b3f) but it didn't change. general-functions.pl was not updated. Checked with Development Build: master/a98b79f8 and can confirm that the fix has been implemented with the update to CU173 Testing So change verified as implemented. |