Merge pull request #14888 from FHenry/12.0

fix CSRF not provided into form file upload ckeditor
This commit is contained in:
Laurent Destailleur 2020-10-01 19:14:07 +02:00 committed by GitHub
commit 2625b94c83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -122,6 +122,7 @@ window.onload = function()
</head>
<body>
<form id="frmUpload" action="" target="frmUploadWorker" method="post" enctype="multipart/form-data" onsubmit="return OnSubmit();">
<input type="hidden" name="token" value="<?php echo newToken(); ?>" />
<table class="fullHeight" cellspacing="0" cellpadding="0" width="100%" border="0">
<tr>
<td class="nowrap">