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
(cherry picked from commit f20c70fbba)
This commit is contained in:
Major Hayden 2017-07-21 08:01:45 -05:00
parent 5fe945ad54
commit 2c4a2b3ebd
No known key found for this signature in database
GPG Key ID: 737051E0C1011FB1
1 changed files with 1 additions and 1 deletions

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$)