Diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Cover how link-trailers applies its rules
Skipping a malformed rule, a rule without a key, the switch for bare urls and the shipped CVE example were untested, and the only url kept from linking was one holding a quote, so a broader scheme check would have let javascript:// through.
Diffstat (limited to 'tests/extensions/test-link-trailers.lua')
-rw-r--r--tests/extensions/test-link-trailers.lua26
1 file changed, 26 insertions, 0 deletions