Project

General

Profile

Actions

Bug #19368

closed

config.absRefPrefix can force wrong URL when linking across domains

Added by Dmitry Dulepov about 16 years ago. Updated about 16 years ago.

Status:
Closed
Priority:
Should have
Category:
Communication
Target version:
-
Start date:
2008-09-23
Due date:
% Done:

0%

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

Description

Suppose you have two domains: example1.com and example2.com. absRefPrefix is set as "http://example2.com/" at the second domain. Now if you link to the first domain, you will still get http://example2.com/ instead of http://example1.com/ in the URL. The problem is that typolink does not add domain to the URL if domain is already set there. If linking across domains, new domain must be forced to the URL. The best way is to strip the absRefPrefix because it is valid for the current domain only anyway.

(issue imported from #M9412)


Files

typolink_absRefPrefix.diff (2.95 KB) typolink_absRefPrefix.diff Administrator Admin, 2008-09-23 10:58

No data to display

Actions

Also available in: Atom PDF