kopia lustrzana https://github.com/iv-org/invidious
pages/watch: HTML escape 'action' in download widget
Caught in the review of PR 5224, but forgot to click on "send review" in time. I realized that too late, after the PR was already merged.SamantazFox-patch-2
rodzic
df8839d1f0
commit
31b6ed9602
|
@ -32,7 +32,7 @@ module Invidious::Frontend::WatchPage
|
|||
return String.build(4000) do |str|
|
||||
str << "<form"
|
||||
str << " class=\"pure-form pure-form-stacked\""
|
||||
str << " action='#{url}'"
|
||||
str << " action='" << HTML.escape(url) << "'"
|
||||
str << " method='post'"
|
||||
str << " rel='noopener'"
|
||||
str << " target='_blank'>"
|
||||
|
|
Ładowanie…
Reference in New Issue