Issue Bug Closed

#23075Unit test for sanitizeLocalUrl fails on installations inside a subdirectory

Pascal Jungblut 07/02/10, 13:10 updated 10/02/18, 12:23

Description

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.

(issue imported from #M14971)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.