[wopi] Increase checkExtendedPDF download limit; Fix permissions for formsubmit action; For bug 67135

This commit is contained in:
Sergey Konovalov
2024-04-03 01:41:32 +03:00
parent 5b85537d3f
commit d510780c84
2 changed files with 7 additions and 3 deletions

View File

@ -30,7 +30,8 @@
*
*/
function checkExtendedPDF(directUrl, key, url, token, callback) {
var limit = 110;
//110 is not enough for the new PDF form
var limit = 300;
if (directUrl) {
downloadPartialy(directUrl, limit, null, function(text) {
callback(isExtendedPDFFile(text))