mirror of
https://github.com/iv-org/invidious.git
synced 2025-08-16 09:38:30 +00:00
Fix search_query_encoded
This commit is contained in:
parent
4af644fa22
commit
4f990080f2
@ -2,7 +2,7 @@
|
||||
<title><%= search_query.not_nil!.size > 30 ? HTML.escape(query.not_nil![0,30].rstrip(".") + "...") : HTML.escape(query.not_nil!) %> - Invidious</title>
|
||||
<% end %>
|
||||
|
||||
<% search_query_encoded = env.get?("search").try { |x| URI.encode(x.as(String), space_to_plus: true) } %>
|
||||
<% search_query_encoded = env.get?("search").try { |x| URI.encode_www_form(x.as(String), space_to_plus: true) } %>
|
||||
|
||||
<!-- Search redirection and filtering UI -->
|
||||
<% if count == 0 %>
|
||||
|
Loading…
Reference in New Issue
Block a user