Matt Jankowski
d6f50839e1
Fix `RSpec/SpecFilePathFormat` cops ( #27730 )
3 years ago
Claire
c78280a8ce
Add translate="no" to outgoing mentions and links ( #25524 )
3 years ago
Claire
3a6451c867
Add support for incoming rich text ( #23913 )
3 years ago
Claire
15b88a83ab
Fix sanitizer parsing link text as HTML when stripping unsupported links ( #22558 )
3 years ago
Claire
a4dcaef53b
Prepare Mastodon for zeitwerk autoloader ( #15917 )
...
* Prepare Mastodon for zeitwerk autoloader (Rails 6)
Add inflections and rename/move a few classes.
In particular, app/lib/exceptions.rb and app/lib/sanitize_config.rb
were manually loaded while still in autoload paths.
* Add inflection for Url → URL
5 years ago
Eugen Rochko
b1349342d2
Fix rendering `<a>` without `href` when scheme unsupported ( #13040 )
...
- Disallow links with relative paths
- Disallow iframes with non-http protocols and relative paths
Close #13037
6 years ago
BSKY
fccf83e1f2
Add noopener and/or noreferrer ( #12202 )
7 years ago
ThibG
fda437a020
Fix sanitizing lists contents ( #11354 )
...
* Add test
* Fix code for sanitizing nested lists stripping all tags
7 years ago
Eugen Rochko
103a9f4466
Fix sanitizer making block level elements unreadable ( #10836 )
...
Fix #10834
7 years ago