mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-08 14:10:52 -07:00
Merge pull request #334 from drzoidberg33/security-fixes
Escape input on friendy_name change.
This commit is contained in:
commit
a1f18bc133
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ DOCUMENTATION :: END
|
||||||
success: function(data) {
|
success: function(data) {
|
||||||
$("#edit-user-status-message").html(data);
|
$("#edit-user-status-message").html(data);
|
||||||
if ($.trim(friendly_name) !== '') {
|
if ($.trim(friendly_name) !== '') {
|
||||||
$(".set-username").html(friendly_name);
|
$('.set-username').html(document.createTextNode(friendly_name));
|
||||||
}
|
}
|
||||||
$("#user-profile-thumb").attr('src', thumb);
|
$("#user-profile-thumb").attr('src', thumb);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue