[TYPO3-core] RFC #13740: "Show" clickmenu in page tree generates wrong URL
Ernesto Baschny [cron IT]
ernst at cron-it.de
Thu Mar 18 08:14:16 CET 2010
REMINDER for one more core +1 review.
Cheers,
Ernesto
Ernesto Baschny [cron IT] schrieb am 04.03.2010 09:39:
> Hi!
>
> This is a SVN patch request.
>
> Type: Bugfix
>
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=13740
>
> Branches: Trunk
>
> Problem:
> If we don't have any sys_domain record in our page tree, the clickmenu
> "Show" will generate a link like:
>
> http://example.com//index.php?id=xx
>
> Note the double "//" before index.php. This won't work if you have
> realurl installed (it doesn't even need to be enabled for your site):
>
> "Error! Reason: "index.php" could not be found, closest page matching is"
>
>
> Solution:
> Make it behave like in 4.3, where it works. :) The problem was
> introduced with the new method t3lib_beFunc::getViewDomain (RFC #11608)
> which returns the domain with trailing "/" if there is no sys_domain
> record found (straight from "TYPO3_SITE_URL") and without "/" if there
> is any sys_domain found. The patch removes the trailing "/" just like
> firstDomainRecord also does.
>
>
> Additional information / To reproduce:
> - Create a new mount page, check the option "Substitute Mount Point
> (this page) with Mounted page:" and set a page to be mounted
> - Click on the mount point page in the page tree and select "Show"
> - See the error
> - Apply the patch
> - See the error go away
>
>
> Cheers,
> Ernesto
>
>
More information about the TYPO3-team-core
mailing list