idoenk / kaskus-quick-reply

Kaskus Quick Reply is a userscript which expand user engagement to reply post in Kaskus forum. It includes image uploader and many other features
Other
8 stars 1 forks source link

Quick Reply Break URL tag. #1

Closed idoenk closed 9 years ago

idoenk commented 9 years ago

Quick Quote(QQ) break URL tag with link containing white-space, value is unescaped. it may act the same on another tags which involve URL. Doing things to this test-case

value with Fetch Quote:

[QUOTE=indrayoo;5537e677902cfee91b8b456a]testess[URL=https://greasyfork.org/scripts/96-kaskus-quick-reply-evo/code/Kaskus%20Quick%20Reply%20(Evo).user.js]s[/URL]

value with Quick Quote:

[QUOTE=indrayoo;5537e677902cfee91b8b456a]testess[URL=https://greasyfork.org/scripts/96-kaskus-quick-reply-evo/code/Kaskus Quick Reply (Evo).user.js]s[/URL]

values look the same(minor) and might in rare situation; side-effect occurs: returned value from QQ, URL tag wont be rendered as link.