Searching for a .php file causes a 5xx error
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3461110. --> Reported by: [avpaderno](https://www.drupal.org/user/55077) >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>Searching for a file with a <em>.php</em> extension causes a 5xx error.</p> <h4 id="summary-steps-reproduce">Steps to reproduce</h4> <ul> <li>On the search field enter <em>Color.php</em>. The autocomplete will show a single value, since there is a perfect match with a filename.</li> <li>Click on the value shown by the autocomplete.</li> <li>Click on the <em>Search</em> button.</li> <li>The search block will redirect to <code>https://api.drupal.org/api/drupal/11.x/search/Color.php</code>.</li> <li>The site will show the following error.</li> </ul> <blockquote><p> 5xx Server Error</p> <p>Drupal.org's servers encountered an error handling your request. Please try again in a few moments. </p></blockquote> <p>I tried from a private windows too, just to exclude it is caused from some extension, but it still happened.<br> I tried entering just <em>Color.</em> (period included), but the result is the same.<br> I tried entering index.php, but in this case I got the search page showing three results in <em>Exact matches</em> and four results in <em>All search results</em>.</p>
issue