Merge pull request #3205 from iv-org/escape-username

pull/3232/head
Samantaz Fox 2 years ago
commit 88007a08f2
No known key found for this signature in database
GPG Key ID: F42821059186176E

@ -68,7 +68,7 @@
</div> </div>
<% if env.get("preferences").as(Preferences).show_nick %> <% if env.get("preferences").as(Preferences).show_nick %>
<div class="pure-u-1-4"> <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> </div>
<% end %> <% end %>
<div class="pure-u-1-4"> <div class="pure-u-1-4">

Loading…
Cancel
Save