Merge pull request #678 from th-h/master
Escape version string in update notifier.
This commit is contained in:
commit
2a58548bd3
@ -1,6 +1,8 @@
|
|||||||
Version 2.4-alpha1 ()
|
Version 2.4-alpha1 ()
|
||||||
------------------------------------------------------------------------
|
------------------------------------------------------------------------
|
||||||
|
|
||||||
|
* Fix: Escape version string in update notifier to avoid XSS.
|
||||||
|
|
||||||
* Fix: Prevent renaming a ML object into an existing file,
|
* Fix: Prevent renaming a ML object into an existing file,
|
||||||
resulting in deletion of both from disk and database.
|
resulting in deletion of both from disk and database.
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
<section id="dashboard_update">
|
<section id="dashboard_update">
|
||||||
<h3>{$CONST.UPDATE_NOTIFICATION}</h3>
|
<h3>{$CONST.UPDATE_NOTIFICATION}</h3>
|
||||||
|
|
||||||
<span class="msg_notice"><span class="icon-info-circled" aria-hidden="true"></span> {$CONST.NEW_VERSION_AVAILABLE} {$curVersion}</span>
|
<span class="msg_notice"><span class="icon-info-circled" aria-hidden="true"></span> {$CONST.NEW_VERSION_AVAILABLE} {$curVersion|escape}</span>
|
||||||
{$updateButton}
|
{$updateButton}
|
||||||
</section>
|
</section>
|
||||||
<hr class="separator">
|
<hr class="separator">
|
||||||
@ -41,7 +41,7 @@
|
|||||||
<section id="dashboard_plugin_updates">
|
<section id="dashboard_plugin_updates">
|
||||||
<h3>{$CONST.UPDATE_NOTIFICATION}</h3>
|
<h3>{$CONST.UPDATE_NOTIFICATION}</h3>
|
||||||
|
|
||||||
<span class="msg_notice"><span class="icon-info-circled" aria-hidden="true"></span> {$pluginUpdates}</span>
|
<span class="msg_notice"><span class="icon-info-circled" aria-hidden="true"></span> {$pluginUpdates|escape}</span>
|
||||||
</section>
|
</section>
|
||||||
<hr class="separator">
|
<hr class="separator">
|
||||||
{/if}
|
{/if}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user