# HG changeset patch # User Heiko Schlittermann # Date 1451917015 -3600 # Node ID 7903028768ed8d6bd6931f89f0aac56dec44eef5 # Parent 0bbcd830cecdf43048bb8b37f9584be01f97c993 Escape (URL, HTML) the file names diff -r 0bbcd830cecd -r 7903028768ed templates/confirm.html --- a/templates/confirm.html Mon Jan 04 15:04:25 2016 +0100 +++ b/templates/confirm.html Mon Jan 04 15:16:55 2016 +0100 @@ -1,7 +1,7 @@ [% WRAPPER once.tt %]

Download bestätigen


-Die Datei [% file.name %] ([% file.mimetype %]) +Die Datei [% file.name | html %] ([% file.mimetype %]) wird nach Abschluß des Downloads gelöscht werden
diff -r 0bbcd830cecd -r 7903028768ed templates/inventory.html --- a/templates/inventory.html Mon Jan 04 15:04:25 2016 +0100 +++ b/templates/inventory.html Mon Jan 04 15:16:55 2016 +0100 @@ -19,11 +19,11 @@ [% FOREACH file IN files %] - [% file.name %] + [% file.name | html %] [% file.size %] [% date.format(file.uploaded, "%c") %] [% file.removal.type %] - remove + remove [% END # foreach %] diff -r 0bbcd830cecd -r 7903028768ed templates/not-found.html --- a/templates/not-found.html Mon Jan 04 15:04:25 2016 +0100 +++ b/templates/not-found.html Mon Jan 04 15:16:55 2016 +0100 @@ -1,4 +1,4 @@ [% WRAPPER once.tt %]

Sorry

-Das File [% file.name %] existiert (nicht) mehr. +Das File [% file.name | html %] existiert (nicht) mehr. [% END %]