summaryrefslogtreecommitdiff
path: root/lib/scripts/helpers.js
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2011-06-14 19:50:29 +0200
committerAndreas Gohr <andi@splitbrain.org>2011-06-14 21:29:35 +0200
commit8dd5c1d6612a6c7f217da041703183200405fa90 (patch)
tree9134379e351d5137c7ff4fac256e5ed1a86f25e9 /lib/scripts/helpers.js
parent458dd6e829124891f9998c30b061131c67b86ac4 (diff)
downloadrpg-8dd5c1d6612a6c7f217da041703183200405fa90.tar.gz
rpg-8dd5c1d6612a6c7f217da041703183200405fa90.tar.bz2
only allow configured URL schemes in external links
This fixes a problem where JavaScript could be introduced through specially crafted RSS feeds on a lower level than the commit from yesterday (1ca2719c7488662ebd7964c0d026e0890f923ee9) This also fixes a problem where JavaScript links could be introduced by specifying it as an RSS URL: the resulting error message displays a link to the broken feed URL. This patch makes sure there's no working link for unknown protocols.
Diffstat (limited to 'lib/scripts/helpers.js')
0 files changed, 0 insertions, 0 deletions