Project

General

Profile

Actions

Bug #22400

closed

Move baseUrl after HeaderData/Javascript include

Added by Not Only Pixel over 14 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2010-04-08
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.4
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

If you set baseUrl with Typoscript. (config.baseUrl = domain/path) it is included before all HeaderData and before Javascript Files is included.
Now, IE6 crashes on this configuration if you use DOJO Toolkit (Version 1.4).
IE6 stops with "Could not load Page" alert message.

Maybe this configuration could harm other JS-Frameworks

Solution:
Move baseUrl include after HeaderData and IncludeJs

In Dojo Board and in Dojo bugtracker the problem is known, but they will not fix this, as this is a IE6 bug.

(issue imported from #M14034)


Files

patch_baseUrl.diff (1.33 KB) patch_baseUrl.diff Administrator Admin, 2010-04-08 16:58
Actions #1

Updated by Dmitry Dulepov over 14 years ago

http://www.w3.org/TR/REC-html40/struct/links.html#h-12.4

"When present, the BASE element must appear in the HEAD section of an HTML document, before any element that refers to an external source. The path information specified by the BASE element only affects URIs in the document where the element appears."

This proposal violates the specification.

Actions #2

Updated by Tobias Liebig over 14 years ago

The problem is, IE6 mis-interpretes the auto-closing base tag and thus all following tags will become children of the base-tag.

Some time ago i wrote an blog article about the baseurl issue (sorry, german only, but the code examples may help you)
http://www.networkteam.com/blog/post/ie6-vorgang-abgebrochen.html

There is an extension in TER, which should solve the issue:
https://typo3.org/extensions/repository/view/nwt_iebasetagfix/current/

Actions #3

Updated by Steffen Gebert over 14 years ago

RFC dropped because of too man -1 in core list

Actions #4

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF