Mark Bergsma has submitted this change and it was merged.

Change subject: Update regex for login cookies per session cookie name change
......................................................................


Update regex for login cookies per session cookie name change

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

Approvals:
  Mark Bergsma: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/templates/varnish/mobile-frontend.inc.vcl.erb 
b/templates/varnish/mobile-frontend.inc.vcl.erb
index 5659f8f..3672080 100644
--- a/templates/varnish/mobile-frontend.inc.vcl.erb
+++ b/templates/varnish/mobile-frontend.inc.vcl.erb
@@ -53,7 +53,7 @@
        set req.http.X-Orig-Cookie = req.http.Cookie;
        if( req.http.Cookie ~ "disable" ||
                req.http.Cookie ~ "optin" ||
-               req.http.Cookie ~ "session" ||
+               req.http.Cookie ~ "[Ss]ession" ||
                req.http.Cookie ~ "forceHTTPS" ) {
                /* Do nothing; these are the cookies we pass.
                 * this is a hack in the absence of X-V-O support

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib6d3b6242eef41cdccefe5f2f48c42a485f1306c
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: awjrichards <[email protected]>
Gerrit-Reviewer: Mark Bergsma <[email protected]>
Gerrit-Reviewer: MaxSem <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to