Invidious is an alternative front-end to YouTube
HTML escape username
Émilien Devos6c4ed282bb8e
diff --git a/src/invidious/views/template.ecr b/src/invidious/views/template.ecrindex 4e2b29f0..caf5299f 100644--- a/src/invidious/views/template.ecr+++ b/src/invidious/views/template.ecr@@ -68,7 +68,7 @@</div><% if env.get("preferences").as(Preferences).show_nick %><div class="pure-u-1-4">- <span id="user_name"><%= env.get("user").as(Invidious::User).email %></span>+ <span id="user_name"><%= HTML.escape(env.get("user").as(Invidious::User).email) %></span></div><% end %><div class="pure-u-1-4">