Pending

User tests: Successful: Unsuccessful:

avatar Denitz
Denitz
23 Jun 2025

Summary of Changes

Currently, if a page is loaded with task handling invalid controller, Joomla reports 500 server error status.

But logically, it should be a 404 response, but not a server error.

For instance, I have a custom notifier on server errors, but it's just an invalid URL, or it could be an old URL with menu item type changes. Once indexed by search engine, it will send you 500 errors.

Testing Instructions

Load any usual single article URL with appended invalid task like ?task=foo.bar, i.e.:

https://www.joomla.org/announcements/release-news/5928-joomla-5-3-1-bugfix-release.html?task=foo.bar

Actual result BEFORE applying this Pull Request

Invalid URL returns 500 status.

image

Expected result AFTER applying this Pull Request

Invalid URL returns 404 status.

Link to documentations

Please select:

  • No documentation changes for docs.joomla.org needed

  • No documentation changes for manual.joomla.org needed

avatar Denitz Denitz - open - 23 Jun 2025
avatar Denitz Denitz - change - 23 Jun 2025
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 23 Jun 2025
Category Libraries

Add a Comment

Login with GitHub to post a comment