Explicitely escape user data in translations to avoid XSS
This commit is contained in:
+4
-4
@@ -60,13 +60,13 @@ msgstr ""
|
||||
msgid "Let's go!"
|
||||
msgstr ""
|
||||
|
||||
msgid "Welcome on {{ instance_name }}"
|
||||
msgid "Welcome on {{ instance_name | escape }}"
|
||||
msgstr ""
|
||||
|
||||
msgid "Notifications"
|
||||
msgstr ""
|
||||
|
||||
msgid "Written by {{ link_1 }}{{ url }}{{ link_2 }}{{ name }}{{ link_3 }}"
|
||||
msgid "Written by {{ link_1 }}{{ url }}{{ link_2 }}{{ name | escape }}{{ link_3 }}"
|
||||
msgstr ""
|
||||
|
||||
msgid "This article is under the {{ license }} license."
|
||||
@@ -180,7 +180,7 @@ msgstr ""
|
||||
msgid "Update account"
|
||||
msgstr ""
|
||||
|
||||
msgid "{{ name }}'s followers"
|
||||
msgid "{{ name | escape }}'s followers"
|
||||
msgstr ""
|
||||
|
||||
msgid "Followers"
|
||||
@@ -249,7 +249,7 @@ msgstr ""
|
||||
msgid "You need to be logged in order to edit your profile"
|
||||
msgstr ""
|
||||
|
||||
msgid "By {{ link_1 }}{{ link_2 }}{{ link_3 }}{{ name }}{{ link_4 }}"
|
||||
msgid "By {{ link_1 }}{{ link_2 }}{{ link_3 }}{{ name | escape }}{{ link_4 }}"
|
||||
msgstr ""
|
||||
|
||||
msgid "{{ data }} reshared your article"
|
||||
|
||||
Reference in New Issue
Block a user