igriffiths / pwm

Automatically exported from code.google.com/p/pwm
0 stars 0 forks source link

i18n toolki should process ambiguous characters (single quotes, ...) from message properties #33

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The i18n toolkit used by pwm does not escape ambiguous character ...

An unescaped string in Display_fr.properties (cf
'Display_IdleTimeout')  breaks webkit borwsers  (such as safari) : 
after a successfull login the browser is redirected
to  an unknown url '/pwm/private/undefined'

This behaviour is corrected if the single quote is escaped or removed
from the string.

Step to reproduce :
  Use a webkit based browser (safari, epiphany, konqueror)
  Choose french as preferred language
  go to pwm and try to change password ...

Step to correct:
  Replace 'D\u00e9lai d'inactivit\u00e9 :' with D\u00e9lai inactivit\u00e9 :' 

Original issue reported on code.google.com by bofh...@gmail.com on 26 Jan 2011 at 9:20

GoogleCodeExporter commented 9 years ago
Should be fixed in svn revision 107.   I've left the original translation in 
place, but the apostrophe character should no longer cause a problem.

Original comment by jrivard on 14 Feb 2011 at 4:27

GoogleCodeExporter commented 9 years ago
Awesome ...

Original comment by bofh...@gmail.com on 15 Feb 2011 at 7:22