Configure brakeman to ignore url safe preview card urls (#25883)
This commit is contained in:
parent
13688539bc
commit
ab0fb81479
5 changed files with 27 additions and 40 deletions
|
@ -9,6 +9,10 @@ module FormattingHelper
|
|||
TextFormatter.new(text, options).to_s
|
||||
end
|
||||
|
||||
def url_for_preview_card(preview_card)
|
||||
preview_card.url
|
||||
end
|
||||
|
||||
def extract_status_plain_text(status)
|
||||
PlainTextFormatter.new(status.text, status.local?).to_s
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue