[OSM-talk] Polish Potlatch doesn't work anymore.
Ævar Arnfjörð Bjarmason
avarab at gmail.com
Tue Sep 29 10:28:43 BST 2009
On Tue, Sep 29, 2009 at 8:58 AM, <stlman at poczta.fm> wrote:
> Greetings.
>
> It apparently stopped working because Polish translation[1] contains double quotes which make their way to html unescaped which produces a JS string like this:
>
> "Blah blah "foo bar" blah"
>
> in which "foo bar" becomes JS *code*. The quotes in the message should be escaped *and* the code which sends the message to the page should escape special characters.
>
> [1]http://translatewiki.net/w/i.php?title=Osm:Site.edit.potlatch_unsaved_changes/pl&action=edit&loadgroup=out-osm&loadtask=view
I fixed this bug in the rails port:
http://trac.openstreetmap.org/changeset/17842
More information about the talk
mailing list