[TYPO3-core] RFC: #14971: Unit test for sanitizeLocalUrl fails on installations inside a subdirectory
Susanne Moog
info at susannemoog.de
Wed Jul 7 17:49:59 CEST 2010
On 02.07.2010 13:17, Stefan Galinski wrote:
> Hi,
>
> this is a SVN patch request.
>
> Type: Bugfix
>
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=14971
>
> Branches: trunk
>
> Problem:
> The unit tests for sanitizeLocalUrl are failing if the installation is
> inside a subdirectory.
>
> Solution:
> Fixed the validLocalUrlDataProvider to provide directories that consider
> subdirectories.
>
> How to test:
> Execute the t3lib_divTest::sanitizeLocalUrlAcceptsPlainValidUrls test with
> tx_phpunit.
>
> Note: This patch was a result of the work at the unit testing workshop at
> the #t3dd10 by Pascal Jungblut and myself.
+1 by reading and testing,
Susanne
More information about the TYPO3-team-core
mailing list