Files
nairobi/config
Javi Martín 7f1bfc6bd7 Avoid using html() to set languages description
The jQuery html() function does not filter <script> tags, so if somehow
an attacker introduced a <script> in the translation, we would be
vulnerable to a XSS attack.

Note using $.parseHTML wouldn't solve the problem, since it doesn't
filter attributes in image tags.

Since changing the text of the part which doesn't have the count wasn't
very clean, I've added another <span> tag for the part with the
description, and so we can use jQuery's text() function to replace it.
2019-10-21 20:24:50 +02:00
..
2019-04-16 17:28:06 +02:00
2019-10-13 00:31:13 +02:00
2019-04-16 17:28:06 +02:00
2017-09-01 12:51:31 +02:00
2019-04-16 17:28:06 +02:00
2019-10-05 03:38:44 +02:00
2019-03-15 10:29:07 +01:00