This commit is contained in:
Samantaz Fox 2025-06-26 19:15:19 +00:00 committed by GitHub
commit c1942bcb78
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='" << URI.encode_www_form(url) << "'"
str << " method='post'"
str << " rel='noopener'"
str << " target='_blank'>"