Bug #27503

TYPO3_lastVisitedUri causes problems with non hostname paths for rootpages

Added by Aske Ertmann about 4 years ago. Updated about 4 years ago.

Status:Resolved Start date:2011-06-16
Priority:Must have Due date:
Assigned To:- % Done:

100%

Category:-
Target version:-

Description

The cookie TYPO3_lastVisitedUri is set with the path to the current page in TYPO3/Resources/Private/TypoScriptObjects/Head.html

This works fine if you're using the hostname as the root for your website (http://localhost/). But if you're using something like http://localhost/Web/ it doesn't work on the rootpage.

Associated revisions

Revision e6586a53
Added by Aske Ertmann about 4 years ago

[BUGFIX] Fix TYPO3_lastVisitedUri for subdirectories

When generating TYPO3_lastVisitedUri a wrong path would be stored for
URLs ending with a / but not being "/" at the same time:
/foobar/ -> /foobar/
should be
/foobar/ -> /foobar/{node.name}.html
instead.

Change-Id: Ie214f5b199460d950f8b2bb6e386268a44e11b1d
Fixes: #27503

History

#1 Updated by Aske Ertmann about 4 years ago

  • Subject changed from TYPO3_lastVisitedUri doesn't if siteroot isn't location hostname to TYPO3_lastVisitedUri causes problems with non hostname paths for rootpages

#2 Updated by Mr. Hudson about 4 years ago

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

#3 Updated by Mr. Hudson about 4 years ago

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

#4 Updated by Mr. Hudson about 4 years ago

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

#5 Updated by Mr. Hudson about 4 years ago

Patch set 4 of change Ie214f5b199460d950f8b2bb6e386268a44e11b1d has been pushed to the review server.
It is available at http://review.typo3.org/2774

#6 Updated by Mr. Hudson about 4 years ago

Patch set 5 of change Ie214f5b199460d950f8b2bb6e386268a44e11b1d has been pushed to the review server.
It is available at http://review.typo3.org/2774

#7 Updated by Aske Ertmann about 4 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF