diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-05-11 23:14:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-11 23:14:00 +0200 |
commit | 58bcd50f7f8c187f8c0bd4a1d52aecafd76979fc (patch) | |
tree | 3299106ece1d8030d7551a7ae9dd75922b6b906d /app/lib | |
parent | 60ecfb87ae4a2587169592ca38b3292798faab43 (diff) |
Fix #1426 - Trim long usernames in public follower/following lists (#2993)
Fix #2221 - Catch OpenSSL exceptions when loading remote avatars/headers/attachments Don't strip "rel" attribute from <a> tags when sanitizing (microformats)
Diffstat (limited to 'app/lib')
-rw-r--r-- | app/lib/sanitize_config.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/sanitize_config.rb b/app/lib/sanitize_config.rb index 90098969f..22b46a3d3 100644 --- a/app/lib/sanitize_config.rb +++ b/app/lib/sanitize_config.rb @@ -8,7 +8,7 @@ class Sanitize elements: %w(p br span a), attributes: { - 'a' => %w(href), + 'a' => %w(href rel), 'span' => %w(class), }, |