]> cat aescling's git repositories - mastodon.git/commit
[!] Sanitize incoming classlist properly (#6162)
authorpuckipedia <puck@puckipedia.com>
Wed, 3 Jan 2018 02:54:08 +0000 (03:54 +0100)
committerEugen Rochko <eugen@zeonfederated.com>
Wed, 3 Jan 2018 02:54:08 +0000 (03:54 +0100)
commit545095b3ce312b42ba304d0bb2c76727826e27b4
treeacbfd8c4302f14ea8a352d8d7b9034eafe711ed1
parentd319b3dbe4cf40bfca12a224adb54a8fb6033090
[!] Sanitize incoming classlist properly (#6162)

* Sanitize classlist properly

* Actually properly sanitize every class after the first

* Improve Formatter spec to check for multiple classes and non-space whitespace
app/lib/sanitize_config.rb
spec/lib/formatter_spec.rb