Project

General

Profile

Actions

Bug #23075

closed

Unit test for sanitizeLocalUrl fails on installations inside a subdirectory

Added by Pascal Jungblut almost 14 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2010-07-02
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)


Files

14971_v1.diff (1.84 KB) 14971_v1.diff Administrator Admin, 2010-07-02 13:11
Actions

Also available in: Atom PDF