We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df8839d commit 31b6ed9Copy full SHA for 31b6ed9
src/invidious/frontend/watch_page.cr
@@ -32,7 +32,7 @@ module Invidious::Frontend::WatchPage
32
return String.build(4000) do |str|
33
str << "<form"
34
str << " class=\"pure-form pure-form-stacked\""
35
- str << " action='#{url}'"
+ str << " action='" << HTML.escape(url) << "'"
36
str << " method='post'"
37
str << " rel='noopener'"
38
str << " target='_blank'>"
0 commit comments