Error 503 for pages with special file name characters #491
-
There seems to be a problem in the search extension if you have content files with special characters in the file name.
This will create an URL like Get in touch if you need a testing playground. 😀 Steffen |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
Can you check if there's more information in the Apache and PHP-FPM logs? |
Beta Was this translation helpful? Give feedback.
-
The apache error log prints the following two lines for each failed search query (slightly edited the referer):
PHP7.3-fpm log:
|
Beta Was this translation helpful? Give feedback.
-
A SIGSEGV points to a software crash during execution. It could be a bug in PHP-FPM. |
Beta Was this translation helpful? Give feedback.
-
My hosting panel allows me to change the used php version, so I did a test using php 7.4.0. This results in the following php error:
Maybe I can't calculate anymore, but actually 262144 bytes shouldn't exhaust the available memory? 😖 |
Beta Was this translation helpful? Give feedback.
-
Problem solved, it was caused by a non-utf8 ftp connection while transfering files. |
Beta Was this translation helpful? Give feedback.
-
This was a bug. A file name with invalid UTF8 character caused Thanks for providing a testing playground. Should be fixed now. |
Beta Was this translation helpful? Give feedback.
This was a bug. A file name with invalid UTF8 character caused
preg_replace()
to return an empty string, which then caused an endless recursive function call and after some time the PHP process consumed all available memory. The latest core checks for invalid UTF-8 characters.Thanks for providing a testing playground. Should be fixed now.