File SQUID-2022_1.patch of Package squid.31384

commit 2c5d2de9bdcd25d1127987f8f76c986ab5bfb6da
Author: Amos Jeffries <yadij@users.noreply.github.com>
Date:   2022-08-17 23:32:43 +0000

    Fix typo in manager ACL (#1113)

diff --git a/src/cf.data.pre b/src/cf.data.pre
index 4aef432ca..f15d56b13 100644
--- a/src/cf.data.pre
+++ b/src/cf.data.pre
@@ -1001,7 +1001,7 @@ DEFAULT: ssl::certUntrusted ssl_error X509_V_ERR_INVALID_CA X509_V_ERR_SELF_SIGN
 DEFAULT: ssl::certSelfSigned ssl_error X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT
 ENDIF
 DEFAULT: all src all
-DEFAULT: manager url_regex -i ^cache_object:// +i ^https?://[^/]+/squid-internal-mgr/
+DEFAULT: manager url_regex -i ^cache_object:// +i ^[^:]+://[^/]+/squid-internal-mgr/
 DEFAULT: localhost src 127.0.0.1/32 ::1
 DEFAULT: to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1/128 ::/128
 DEFAULT_DOC: ACLs all, manager, localhost, and to_localhost are predefined.
openSUSE Build Service is sponsored by