mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-23 16:51:00 +08:00
Merge pull request '[wopi] Replace vulnerable "<%-" with "<%="; Fix bug 80768' (#1071) from fix/bug-80768 into release/v9.4.0
Reviewed-on: https://git.onlyoffice.com/ONLYOFFICE/web-apps/pulls/1071
This commit is contained in:
@ -195,7 +195,7 @@ button:disabled, button[disabled]{
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<input id="statusHandler" type="hidden" value="<%= statusHandler || '' %>">
|
||||
<script type="text/javascript" language="javascript">
|
||||
|
||||
function redirect(url) {
|
||||
@ -253,7 +253,7 @@ button:disabled, button[disabled]{
|
||||
|
||||
var convertFile = function () {
|
||||
|
||||
let statusHandler = <%- JSON.stringify(statusHandler) %>;
|
||||
let statusHandler = document.getElementById('statusHandler').value || null;
|
||||
|
||||
if(!statusHandler) {
|
||||
error();
|
||||
|
||||
Reference in New Issue
Block a user