[TYPO3-mvc] RFC #10258

Michael Feinbier mf at hdnet.de
Thu Oct 14 17:01:50 CEST 2010


Hey,

this is a RFC/Bugreport for (hopefully) Extbase:
The forge issiue can be found at: http://forge.typo3.org/issues/10258

Problem: The method 
Tx_Extbase_MVC_Controller_AbstractController::addBaseUriIfNecessary() 
adds the BaseURI to any uri which does not begin with the own baseUri. 
Due to this fact it is not possible to link to external URIs via 
redirectToURI();

Solution: Test if the URI begins with http(s):// instead of the total 
own base URI.

The attached patch fixes this behaviour and provides the corresponding 
unit-test.

Happy to hear your feedback!

Micha
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: extbase-baseuri.patch
URL: <http://lists.typo3.org/pipermail/typo3-project-typo3v4mvc/attachments/20101014/3f08f3fe/attachment.txt>


More information about the TYPO3-project-typo3v4mvc mailing list