Mark Bergsma has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/55573


Change subject: Fix regex
......................................................................

Fix regex

Change-Id: Id79dcebbd11ff732901efcfa03fc3d409ced1c50
---
M templates/varnish/mobile-frontend.inc.vcl.erb
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/73/55573/1

diff --git a/templates/varnish/mobile-frontend.inc.vcl.erb 
b/templates/varnish/mobile-frontend.inc.vcl.erb
index bfb80b4..208a37b 100644
--- a/templates/varnish/mobile-frontend.inc.vcl.erb
+++ b/templates/varnish/mobile-frontend.inc.vcl.erb
@@ -647,7 +647,7 @@
        }
 
        /* Temp test */
-       if (req.url == "/favicon.ico" || req.url ~ 
"^/w/index.php?title=.*Gadget-.*&[0-9]+$") {
+       if (req.url == "/favicon.ico" || req.url ~ 
"^/w/index\.php\?title=.*:Gadget-.*&[0-9]+$") {
                set resp.http.Cache-Control = "s-maxage=3600, max-age=3600";
        }
 }

-- 
To view, visit https://gerrit.wikimedia.org/r/55573
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id79dcebbd11ff732901efcfa03fc3d409ced1c50
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Mark Bergsma <m...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to