[Vtigercrm-developers] Invalid Request on file upload

Sukhdev Mohan s.mohan at myti.it
Tue Apr 26 16:33:03 GMT 2022


A while back I was dealing with uploads, I copied the code from core
vtiger. They have a $bad_extensions global variable. May it's that, since
you're trying to upload a zip file.

Il lun 25 apr 2022, 18:22 Rubén A. Estrada Orozco <rulotec1 at gmail.com> ha
scritto:

> It's apache on CentOS. But I'm also able to reproduce the issue on
> Ubuntu-Apache too.
>
> Saludos
>
> Rubén
>
>
> On Mon, Apr 25, 2022 at 1:48 AM Matus Sopko <sopko at its4you.sk> wrote:
>
>> Apache or nginx webserver ?
>> For nginx check the client_max_body_size parameter
>>
>> Best regards Matus
>> IT-Solutions4You
>>
>> Dňa 22. 4. 2022 o 18:45 Rubén A. Estrada Orozco napísal(a):
>>
>> Thanks for your replies guys!
>>
>> Matus, my upload_max_filesize ws 20M but the post_max_size was set to 8M.
>> After changing post_max_size to 20MB I could upload the 8.5M file that was
>> failing in the animation. However, the file with which I was originally
>> struggling is 18.7M. That file is still failing even after changing both
>> max_upload_size and post_max_size to 30M. Unfortunately I cannot share that
>> file here since it has sensitive data. I have no clue why that file is
>> failing :(
>>
>> Saludos
>>
>> Rubén
>>
>>
>> On Fri, Apr 22, 2022 at 2:23 AM Angelo Paglialonga <
>> info at angelopaglialonga.com> wrote:
>>
>>> Hi Ruben, please check your php config, do you have short tags on? On
>>> certain files vtiger fails because of this
>>> *Dott. Angelo Paglialonga*
>>> *Consulenza vTiger CRM ad alto ROI.*
>>>
>>> *Telefono: 338.6077866*
>>>
>>>
>>> Il giorno 22 apr 2022, alle ore 03:00, Rubén A. Estrada Orozco <
>>> rulotec1 at gmail.com> ha scritto:
>>>
>>> Hi,
>>>
>>> There is this bug:
>>>
>>> <invalid_request_upload_fail.gif>
>>>
>>> Does anyone have an idea of how to fix it? It happens only to some files
>>> and the error is generated by csrf-margic.php
>>> See more details about the error here:
>>> https://code.vtiger.com/vtiger/vtigercrm/issues/1709
>>>
>>> Saludos
>>>
>>> Rubén
>>> _______________________________________________
>>> http://www.vtiger.com/
>>>
>>>
>>> _______________________________________________
>>> http://www.vtiger.com/
>>
>>
>> _______________________________________________http://www.vtiger.com/
>>
>>
>> _______________________________________________
>> http://www.vtiger.com/
>
> _______________________________________________
> http://www.vtiger.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20220426/abfdde15/attachment.html>


More information about the vtigercrm-developers mailing list