Bug #63383
closedProtocol relative url no longer working in page.includeCSS
0%
Description
I just upgraded to 6.2.7, and protocol relative url are no longer included from TypoScript.
Example:
page.includeCSS.font-awesome = http://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css
works but
page.includeCSS.font-awesome = //maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css
no longer includes the CSS file.
Updated by Henrik Ziegenhain almost 10 years ago
Thanks for your report, but I cannot reproduce it.
Exactly your example is working fine for me in 6.2.7
I think, you have forgotten the .external option.
Please try
page.includeCSS { font-awesome = //maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css font-awesome.external = 1 }
See http://docs.typo3.org/typo3cms/TyposcriptReference/Setup/Page/Index.html#includecss-array
.external: If set, there is no file existence check. Useful for inclusion of external files.
Following the docs, I think the behavior was wrong BEFORE 6.2.7
Updated by Markus Klein over 9 years ago
- Status changed from New to Needs Feedback
- Is Regression changed from Yes to No
Still an issue on 6.2.11?
Updated by Charles Brunet over 9 years ago
Yes, you are right. This is because it was working without the .external parameter before. The issue can be closed.
Updated by Riccardo De Contardi over 9 years ago
- Status changed from Needs Feedback to Closed