Project

General

Profile

Actions

Bug #25725

closed

pageNotFound_handling error with relative paths

Added by Kurt Kunig over 13 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2011-04-03
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The "pageNotFound_handling" shows an empty page instead of the dedicated error404-page:
The page (e.g.) http://www.kupix.de/error404.html is existing!

Following the inputs into the localconf.php and the reaction of the system (my description below)!

1.)
$TYPO3_CONF_VARS['FE']['pageNotFound_handling'] = 'error404.html';
Error-message: Server not found
The server www.kupix.deerror404.html could not be found.
(Here you see a missing slash between the TLD and the page-name)

2.)
$TYPO3_CONF_VARS['FE']['pageNotFound_handling'] = '/error404.html';
No error message, only a white and empty page

3.)
$TYPO3_CONF_VARS['FE']['pageNotFound_handling'] = 'http://www.kupix.de/error404.html';
No error message, only a white and empty page

This happens in TYPO3 V4.4.6 and also in V4.5.2

Actions #1

Updated by Kurt Kunig over 13 years ago

Our TYPO3-Hoster told me that they found an internal server problem.
This problem was fixed by the hoster and all error404-pages now come up again if an unknown page was addressed.

Sorry for this ticket!

Kind regards
Kurt

Actions #2

Updated by Susanne Moog over 13 years ago

  • Status changed from New to Closed
Actions #3

Updated by Markus Klein over 13 years ago

We have to reopen this one, as point 1 is still valid.

Assume this non-existent URL http://10.4.5.6/theurl/index.php?id=6566.
Setting $TYPO3_CONF_VARS['FE']['pageNotFound_handling'] = 'index.php?id=errorpage' leads to a Location-Header containing:
Location: http://10.4.5.6index.php?id=errorpage

This is simply bullshit!

Problem is, that in tslib_fe a check, whether the given url is relative, is missing.

Actions #4

Updated by Oliver Hader over 13 years ago

  • Status changed from Closed to Under Review
Actions #5

Updated by Oliver Hader over 13 years ago

Fix ready to be reviewed: https://review.typo3.org/#change,1712

Actions #6

Updated by Oliver Hader over 13 years ago

  • Subject changed from $TYPO3_CONF_VARS['FE']['pageNotFound_handling'] doesn't work!? to pageNotFound_handling error with relative paths
Actions #7

Updated by Mr. Hudson over 13 years ago

Patch set 2 of change I664250d34b05a26bdaf1e2a839027b80c1e4f607 has been pushed to the review server.
It is available at http://review.typo3.org/1712

Actions #8

Updated by Mr. Hudson over 13 years ago

Patch set 1 of change Ibf19841a984aaef863cdb72392b09b631e4f39e5 has been pushed to the review server.
It is available at http://review.typo3.org/2281

Actions #9

Updated by Mr. Hudson over 13 years ago

Patch set 1 of change Idd8e275ac63af30b67fc67dab1aeb7aeaa4d1b14 has been pushed to the review server.
It is available at http://review.typo3.org/2282

Actions #10

Updated by Mr. Hudson over 13 years ago

Patch set 2 of change Idd8e275ac63af30b67fc67dab1aeb7aeaa4d1b14 has been pushed to the review server.
It is available at http://review.typo3.org/2282

Actions #11

Updated by Mr. Hudson over 13 years ago

Patch set 2 of change Ibf19841a984aaef863cdb72392b09b631e4f39e5 has been pushed to the review server.
It is available at http://review.typo3.org/2281

Actions #12

Updated by Mr. Hudson over 13 years ago

Patch set 3 of change I664250d34b05a26bdaf1e2a839027b80c1e4f607 has been pushed to the review server.
It is available at http://review.typo3.org/1712

Actions #13

Updated by Markus Klein over 13 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #14

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF