Bug #21283
absRefPrefix is prefixed with external js files
Status: | Closed | Start date: | 2009-10-15 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Steffen Kamper | % Done: | 0% |
|
Category: | - | Spent time: | - | |
Target version: | - | |||
TYPO3 Version: | 4.3 | Is Regression: | ||
PHP Version: | 5.3 | Sprint Focus: | ||
Complexity: |
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)
History
#1 Updated by Rupert Germann almost 6 years ago
I attached a new file which add absRefPrefix only when the file is not marked as external
#2 Updated by Steffen Kamper almost 6 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
#3 Updated by Steffen Kamper over 5 years ago
committed to trunk, rev 6379