]> cat aescling's git repositories - mastodon.git/commit
Whitelist allowed classes for federated statuses (#3810)
authornightpool <eg1290@gmail.com>
Sat, 17 Jun 2017 18:26:05 +0000 (14:26 -0400)
committerEugen Rochko <eugen@zeonfederated.com>
Sat, 17 Jun 2017 18:26:05 +0000 (20:26 +0200)
commit94d0e012dea89058b9c059636fb6d42f6565e534
treed14c43d4177eefcfa3b981d757753df731e693d8
parent8fd931dc126d0f90417a6614bd21bb945543e4f4
Whitelist allowed classes for federated statuses (#3810)

* Whitelist allowed classes for federated statuses

Allowed classes are currently:

 - Any microformats class (h/p/u/dt/e-*)
 - the classes mention, hashtag, ellipses and invisible.

this last one is somewhat suspect, but Mastodon currently uses it to render hidden link text.

resolved #3790

* Fix code style
app/lib/sanitize_config.rb
spec/lib/formatter_spec.rb