Escape periods in DontCache regex

This patch ensures that periods are escaped in the DontCache
regex so that they avoid matching things they shouldn't.

Change-Id: If27857cf7f5c22cb466ce3b94c34f272ff7df94d
This commit is contained in:
Major Hayden 2017-07-21 08:01:45 -05:00
parent dc80ec4412
commit f20c70fbba
No known key found for this signature in database
GPG Key ID: 737051E0C1011FB1

View File

@ -29,4 +29,4 @@ VfilePatternEx: ^/\?release=[0-9]+&arch=
# that causes more intermittent 503 errors. This DontCache line
# tells apt-cacher-ng to allow requests for these to pass through
# without being cached.
DontCache: (mirrorlist.centos.org)|(mariadb.org.*.bz2$)
DontCache: (mirrorlist\.centos\.org)|(mariadb\.org.*\.bz2$)