Bug 193732
Summary: | If I log out of trac.webkit.org, I get a page with Russian | ||
---|---|---|---|
Product: | WebKit | Reporter: | Simon Fraser (smfr) <simon.fraser> |
Component: | Tools / Tests | Assignee: | Ling Ho <lingcherd_ho> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | ap, lforschler, lingcherd_ho, lingho, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Simon Fraser (smfr)
Log out of https://trac.webkit.org and reload. You get a Russian page.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Alexey Proskuryakov
Sounds like a feature.
Alexey Proskuryakov
Quite curious. I can reproduce by reloading trac in the same private browsing window where I just logged out of it. But it doesn't happen when loading in a new private browsing window.
And in Chrome, Incognito windows share the state, so the Russian localization persists until closing all of those, or quitting Chrome.
Ling Ho
It turns out the language setting for the "anonymous" user was set to "ru" for some reason. I have fixed it in the database.
trac_webkit=# select * from trac_webkit.session_attribute where sid='anonymous';
sid | authenticated | name | value
-----------+---------------+------------------------+------------------
anonymous | 0 | dateinfo | absolute
anonymous | 0 | default_handler | BrowserModule
anonymous | 0 | diff_contextlines | 8
anonymous | 0 | diff_ignoreblanklines | 1
anonymous | 0 | diff_ignorecase | 1
anonymous | 0 | diff_ignorewhitespace | 1
anonymous | 0 | language | ru
anonymous | 0 | lc_time | locale
anonymous | 0 | pygments_style | tango
anonymous | 0 | timeline.lastvisit | 1548384807196637
anonymous | 0 | timeline.nextlastvisit | 1548384807196637
anonymous | 0 | tz | UTC
(12 rows)
^
trac_webkit=# update trac_webkit.session_attribute set value='en_US' where sid='anonymous' and name='language';
UPDATE 1
trac_webkit=# select * from trac_webkit.session_attribute where sid='anonymous';
sid | authenticated | name | value
-----------+---------------+------------------------+------------------
anonymous | 0 | dateinfo | absolute
anonymous | 0 | default_handler | BrowserModule
anonymous | 0 | diff_contextlines | 8
anonymous | 0 | diff_ignoreblanklines | 1
anonymous | 0 | diff_ignorecase | 1
anonymous | 0 | diff_ignorewhitespace | 1
anonymous | 0 | language | en_US
anonymous | 0 | lc_time | locale
anonymous | 0 | pygments_style | tango
anonymous | 0 | timeline.lastvisit | 1548384807196637
anonymous | 0 | timeline.nextlastvisit | 1548384807196637
anonymous | 0 | tz | UTC
Radar WebKit Bug Importer
<rdar://problem/47538950>