Merge 31b6ed96025bcaa1c6f7aaf9c12efd1e1b0707a8 into 65463333f32384d966c288edb46294336445a498

This commit is contained in:
Samantaz Fox 2025-12-14 21:49:07 +00:00 committed by GitHub
commit 33795547f1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -36,7 +36,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'>"