Opened 3 years ago

Closed 18 months ago

#20856 closed defect (duplicate)

BridgeDB displays "localized page" even if "en" has the highest priority

Reported by: Artoria2e5 Owned by: isis
Priority: Medium Milestone:
Component: Circumvention/BridgeDB Version:
Severity: Normal Keywords:
Cc: 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' | grep icon-envelope
      <i class="icon icon-large icon-envelope"><span id="footer-contact">&nbsp;聯絡資訊</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 | grep icon-envelope
      <i class="icon icon-large icon-envelope"><span id="footer-contact">&nbsp;Contact</span></i></a>


Child Tickets

Change History (1)

comment:1 Changed 18 months ago by emmapeel

Resolution: duplicate
Status: newclosed

this ticket duplicates #15404

Note: See TracTickets for help on using tickets.