Project

General

Profile

Actions

Bug #21283

closed

absRefPrefix is prefixed with external js files

Added by Steffen Kamper about 15 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2009-10-15
Due date:
% Done:

0%

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

Description

When using config.absRefPrefix also external files are built with
absRefPrefix + http://...
which leads to wrong urls.

try this with set absRefPrefix:

page.includeJS {
    cooliris = http://developer.cooliris.com/shared/resources/js/cookie.js
    cooliris.external = 1
}

(issue imported from #M12247)


Files

12247.diff (1.85 KB) 12247.diff Administrator Admin, 2009-10-15 23:53
12247_v2.diff (3.21 KB) 12247_v2.diff Administrator Admin, 2009-10-16 17:45
12247_v3.diff (4.16 KB) 12247_v3.diff Administrator Admin, 2009-11-03 16:38
Actions #1

Updated by Rupert Germann about 15 years ago

I attached a new file which add absRefPrefix only when the file is not marked as external

Actions #2

Updated by Steffen Kamper about 15 years ago

however absRefPrefix is not needed as it's prefixed in TSFE::setAbsRefPrefix

There were two directories missing (extension) which i added:
typo3/ext
typo3/sysext

There were also 2 array-checks missing which leaded to error msg in admPanel, fixed in v3

Actions #3

Updated by Steffen Kamper about 15 years ago

committed to trunk, rev 6379

Actions

Also available in: Atom PDF