[tor-bugs] #31929 [Applications/Tor Browser]: &vendorShortName; is escaped in ar breaking the referencing of this entity

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Oct 2 07:51:28 UTC 2019


#31929: &vendorShortName; is escaped in ar breaking the referencing of this entity
------------------------------------------+----------------------
     Reporter:  gk                        |      Owner:  tbb-team
         Type:  defect                    |     Status:  new
     Priority:  Medium                    |  Milestone:
    Component:  Applications/Tor Browser  |    Version:
     Severity:  Normal                    |   Keywords:
Actual Points:                            |  Parent ID:
       Points:                            |   Reviewer:
      Sponsor:                            |
------------------------------------------+----------------------
 We have `<!ENTITY project.tpoLink         "&vendorShortName؛">` in
 `ar`'s `aboutDialog.dtd`. Note for comparision, just one line above in
 that file `<!ENTITY project.start           "طوّر &brandShortName;">`.

 The latter is correct as the `&` and `;` are making sure `brandShortName`
 as it is translated elsewhere gets included. But that fails if one starts
 to escape those characters (e.g. by replacing `&` with `&amp`).

 Thanks to Thorin for reporting this issue.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/31929>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list