Page 1 of 1

400 Bad Request

Posted: 16 Apr 2019, 21:23
by jasond
We're getting 400 Bad request on file_download.php after upgrade to Mantis 2.20.0.

None of the previews are working.


Things I have tried/confirmed so far:
- GD Library is installed.
- Increased PHP's memory limit to 512mb
- $g_use_dynamic_filters = OFF;

Mantis Version: 2.20.0
PHP Version: 7.1.27

Re: 400 Bad Request

Posted: 16 Apr 2019, 21:46
by atrol
jasond wrote: 16 Apr 2019, 21:23after upgrade to Mantis 2.20.0.
Which version did you run before?

Re: 400 Bad Request

Posted: 17 Apr 2019, 02:34
by jasond
atrol wrote: 16 Apr 2019, 21:46
jasond wrote: 16 Apr 2019, 21:23after upgrade to Mantis 2.20.0.
Which version did you run before?
2.1.0

Re: 400 Bad Request

Posted: 17 Apr 2019, 06:07
by atrol
Did you run admin/check/index.php after upgrade?
I assume you will get some errors / warnings.

Re: 400 Bad Request

Posted: 17 Apr 2019, 16:24
by jasond
It turned out to be related to MariaDB 5.X. Upgrading to 10.0 took care of the issue. I also moved the files to DISK. There is no reason why they should be in the database.