[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #20856 [Obfuscation/BridgeDB]: BridgeDB displays "localized page" even if "en" has the highest priority
#20856: BridgeDB displays "localized page" even if "en" has the highest priority
--------------------------------------+------------------
Reporter: Artoria2e5 | Owner: isis
Type: defect | Status: new
Priority: Medium | Milestone:
Component: Obfuscation/BridgeDB | Version:
Severity: Normal | Keywords:
Actual Points: | Parent ID:
Points: | Reviewer:
Sponsor: |
--------------------------------------+------------------
BridgeDB does not correctly handle an Accept-Language that asks for
English first, and then says "other languages are OK". Take this as an
example:
{{{
$ curl -H 'Accept-Language: en,zh-TW;q=0.8'
https://bridges.torproject.org/ | grep icon-envelope
<i class="icon icon-large icon-envelope"><span id="footer-
contact"> 聯絡資訊</span></i></a>
}}}
In this example, English has a higher priority over zh-TW, but BridgeDB
still shows a zh-TW page, presumably because there is not a specific
"localization" for English.
(Here is the English page:
{{{
$ curl https://bridges.torproject.org/ | grep icon-envelope
<i class="icon icon-large icon-envelope"><span id="footer-
contact"> Contact</span></i></a>
}}}
)
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/20856>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs