HomePhabricator

Harmonize format of GeoIP cookie

Tags
None
Referenced Files
None
Subscribers
None

Description

Harmonize format of GeoIP cookie

When synthesizing the GeoIP cookie, it got prefixed by “GeoIP=”, if
window.Geo.country was not set. And it did not get this prefix, if
window.Geo.country was set.

We now drop the unneeded “GeoIP=” prefix altogether to make sure the
format matches in both cases. Thereby, we match the regular expression
used for parsing of window.Geo in both cases.

Change-Id: Iff5c2aa50c7fad0cee44290ead015b8cf34c0645
(cherry picked from commit 2523d741a752f5e5d67921b8e649dde8bec15195)

Details

Provenance
QChrisAuthored on
MwalkerCommitted on Jun 11 2014, 9:40 PM
Parents
rECNO8a7f5a3f5381: Merge remote-tracking branch 'gerrit/master' into wmf_deploy
Branches
Unknown
Tags
Unknown
ChangeId
Iff5c2aa50c7fad0cee44290ead015b8cf34c0645

Event Timeline