microcosm-cc / bluemonday

bluemonday: a fast golang HTML sanitizer (inspired by the OWASP Java HTML Sanitizer) to scrub user generated content of XSS
https://github.com/microcosm-cc/bluemonday
BSD 3-Clause "New" or "Revised" License
3.12k stars 176 forks source link

Fix the bug that sanitizedUrl will change the order of the link #105

Closed lunny closed 3 years ago

lunny commented 3 years ago

sanitizedUrl may change the link http://abc.com?d=1&a=2&a=3 to http://abc.com?a=2&a=3&d=1. This PR fix this and also renamed sanitizedUrl to sanitizedURL.

Will fix https://github.com/go-gitea/gitea/issues/14090