Issue Bug Rejected

#21852PageNotFound_handling works incorrectly

Thomas Lange 12/13/09, 14:56 updated 09/12/13, 13:41

Description

When using
- default TYPO3 .htaccess file
- without ‘simulate static documents’ and
- without any additional extensions
that 404 pagenotfound_handling works only for requested files/URL’s in form: “…/index.php?id=2”:

If page with id=2 exists, then this page will shown.
If page with id=2 doesn’t exist, then the correct message “Error, The page did not exist…” will shown.
So far so good.

2 Problems:

1.) www.domain.com.de/wrongfile.html or www.domain.com.au/wrongfile.htm shows the page with id=0 (homepage, startpage), if the isn’t any wrongfile. That’s not correctly.
Also If I set the PageNotFound_handling in the InstallTool every time I get the page with id=0.

2.) E.g. a page with id=2 exists, then

- www.domain.com.de/index.php?id=2 is correctly.

The following examples should show the message “Error, The page did not exist…”, but
they show also the Page with id=2:

- www.domain.com.de/ind.php?id=2
- www.domain.com.de/wrongfile.html?id=2
- www.domain.com.de/?id=2

I have only checked this with TYPO3 4.3.0.

In the bugreport #0008343 for older TYPO3-versions I can find a similar discussion,
but not the same failure results.

When I use RealURL it appears PageNotFound_handling works correctly.

(issue imported from #M13025)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.