mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2026-01-17 20:31:44 +00:00
Change <input value="..."> encoding to HTML.escape
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
<div class="h-box">
|
||||
<textarea maxlength="5000" name="description" style="margin-top:10px;max-width:100%;height:20vh" class="pure-input-1"><%= playlist.description %></textarea>
|
||||
</div>
|
||||
<input type="hidden" name="csrf_token" value="<%= URI.encode_www_form(csrf_token) %>">
|
||||
<input type="hidden" name="csrf_token" value="<%= HTML.escape(csrf_token) %>">
|
||||
</form>
|
||||
|
||||
<% if playlist.is_a?(InvidiousPlaylist) && playlist.author == user.try &.email %>
|
||||
|
||||
Reference in New Issue
Block a user