[Scummvm-tracker] [ScummVM :: Bugs] #13720: WEB: link URLs are garbled in Touche's compatibility page

ScummVM :: Bugs trac at scummvm.org
Mon Dec 5 03:45:36 UTC 2022


#13720: WEB: link URLs are garbled in Touche's compatibility page
-------------------------+-------------------------------------------------
Reporter:  JKingweb      |       Owner:  Thunderforge
    Type:  defect        |      Status:  pending
Priority:  low           |   Component:  Web
 Version:                |  Resolution:  assigned
Keywords:                |        Game:  Touché: The Adventures of the
                         |  Fifth Musketeer
-------------------------+-------------------------------------------------
Comment (by Thunderforge):

 Turns out that it's not Smarty on it's own, but rather HTMLPurifier.
 Commenting out [https://github.com/scummvm/scummvm-
 web/blob/2b4cba103651d35bbfa39d709c76b21aa5d348da/include/OrmObjects/Compatibility.php
 this line] fixes the hyperlink. However, the purpose of that is to prevent
 XSS, so I'm reluctant to do that.

 Basically

 * HTMLPurifier converts the `é` to `A9`
 * For reasons I don't undersatnd, Smarty converts that to the value of
 `%good%` in whatever the current language is
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/13720#comment:3>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list