User tests: Successful: Unsuccessful:
[5.4] Fix: Default format to 'html' to prevent 500 error when format is empty
Pull Request resolves # .
Check the $format variable to prevent a 500 error.
In Joomla, accessing these links without this fix will return a 500 error, which can be interpreted as a SQLi vulnerability by Security Check Tools. Example links:
A 500 error is returned.
We no longer get "false positives" for SQLi in Security Check Tools and fewer error logs from SQLi tests.
Please select:
Documentation link for guide.joomla.org:
[ X ] No documentation changes for guide.joomla.org needed
Pull Request link for manual.joomla.org:
[ X ] No documentation changes for manual.joomla.org needed
| Status | New | ⇒ | Pending |
| Category | ⇒ | Libraries |
The error is correct when you explicitly providing an empty format URL variable.
There is nothing to fix.
The error is correct when you explicitly providing an empty or non alphanumeric format URL variable.
There is nothing to fix.
| Status | Pending | ⇒ | Closed |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2026-07-19 19:56:48 |
| Closed_By | ⇒ | HLeithner | |
| Labels |
Added:
PR-5.4-dev
|
||
The error is correct when you explicitly provide an empty format URL variable.
There is nothing to fix.