AUR web interface

Tasklist

FS#45780 - faulty parsing of escapes in Portable Object files

Attached to Project: AUR web interface
Opened by Peter Mattern (krabat) - Sunday, 26 July 2015, 12:23 GMT
Last edited by Lukas Fleischer (lfleischer) - Saturday, 03 October 2015, 08:01 GMT
Task Type Bug Report
Category Backend
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 4.0.0-rc6
Due in Version 4.1.0
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

There seems to be a problem regarding the parsing of escapes in *.po files.

E. g. https://projects.archlinux.org/aurweb.git/tree/po/de.po states
"Paket als \"veraltet\" markieren"
(line 959) but the corresponding HTML code as handed to browsers is
Paket als "veraltet" markieren
yielding a faulty result.

According to http://www.gnu.org/software/gettext/manual/gettext.html#PO-Files escaping like this should be allowed so I assume the problem is at aurweb's side.

On a side note I don't think quotes are necessary regarding 'veraltet' in the first place.
It's just a regular German word and if the reason to quote was that it isn't considered really suitable it could be replaced by 'nicht mehr aktuell', IMHO.
This task depends upon

Closed by  Lukas Fleischer (lfleischer)
Saturday, 03 October 2015, 08:01 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in 4.1.0.
Comment by Lukas Fleischer (lfleischer) - Saturday, 22 August 2015, 12:13 GMT
I don't think this is related to i18n in any way. We probably call htmlspecialchars() twice somewhere...

Loading...