From 2c4a2b3ebd9ba4994b86250cf7b789ed8b09a8f6 Mon Sep 17 00:00:00 2001 From: Major Hayden Date: Fri, 21 Jul 2017 08:01:45 -0500 Subject: [PATCH] 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 f20c70fbba03f8ab7839b8282c96a59d9bd9db92) --- templates/acng.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/acng.conf.j2 b/templates/acng.conf.j2 index d024e33..8ff9138 100644 --- a/templates/acng.conf.j2 +++ b/templates/acng.conf.j2 @@ -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$)