Merge pull request #5048 from kpcyrd/fix-5031
Fix self-xss issue in contact-group-rename
This commit is contained in:
commit
12c507d6a2
2 changed files with 3 additions and 2 deletions
|
|
@ -7,6 +7,7 @@
|
|||
## Bug fixes
|
||||
* Fix hiding of poll publisher on close [#5029](https://github.com/diaspora/diaspora/issues/5029)
|
||||
* Fix padding in user menu [#5047](https://github.com/diaspora/diaspora/pull/5047)
|
||||
* Fix self-XSS when renaming an aspect [#5048](https://github.com/diaspora/diaspora/pull/5048)
|
||||
|
||||
## Features
|
||||
|
||||
|
|
|
|||
|
|
@ -9,11 +9,11 @@ function toggleAspectTitle(){
|
|||
}
|
||||
|
||||
function updateAspectName(new_name) {
|
||||
$('#aspect_name_title .name').html(new_name);
|
||||
$('#aspect_name_title .name').text(new_name);
|
||||
$('input#aspect_name').val(new_name);
|
||||
}
|
||||
function updatePageAspectName( an_id, new_name) {
|
||||
$('ul#aspect_nav [data-guid="'+an_id+'"]').html(new_name);
|
||||
$('ul#aspect_nav [data-guid="'+an_id+'"]').text(new_name);
|
||||
}
|
||||
|
||||
$(document).ready(function() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue