Merge 31b6ed96025bcaa1c6f7aaf9c12efd1e1b0707a8 into b2ecd8abc3c345642999b7d92b54a6cf241ffdac

This commit is contained in:
Samantaz Fox 2025-11-27 18:17:57 -06:00 committed by GitHub
commit be09162dc2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 noreferrer'"
str << " target='_blank'>"