Project

General

Profile

Actions

Bug #23075

closed

Unit test for sanitizeLocalUrl fails on installations inside a subdirectory

Added by Pascal Jungblut over 14 years ago. Updated about 6 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 #1

Updated by Christian Kuhn over 14 years ago

Committed to trunk rev 8141
Committed to 4.4 rev. 8517

Actions #2

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF