mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-03-16 22:10:28 +00:00
Prevents a potential XSS attack coming from wagtail.io.
This commit is contained in:
parent
432e627054
commit
8f45392861
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ $(function() {
|
|||
try {
|
||||
if (data.version && gtVersion(data.version, currentVersion)) {
|
||||
var $container = $('.panel-upgrade-notification')
|
||||
$('.newversion', $container).html(data.version);
|
||||
$('.newversion', $container).text(data.version);
|
||||
$('.releasenotes-link', $container).attr('href', data.url);
|
||||
$container.show();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue