Elgg needs to send a 404 for requests that are not registered
|Reported by:||vazco||Owned by:|
If we set url in elgg_register_js or elgg_register_css to non-existing file in Elgg directory, main page is pulled instead of js/css. It would be much better if non-existent files would return error 404 in this case. Otherwise, it's hard to find which file has wrong path.
Maybe we could use some sort of handler for such files?
Change History (4)
comment:3 Changed 2 years ago by cash
- Difficulty set to easy
- Milestone changed from Needs Review to Elgg 1.8.x
- Summary changed from elgg_register_js redirects to main page if wrong url set to Elgg needs to send a 404 for requests that are not registered