Project

General

Profile

Actions

Bug #17523

closed

Property config.baseUrl and it's current construct may be incompatible with Explorer

Added by David Worms over 16 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Communication
Target version:
-
Start date:
2007-08-11
Due date:
% Done:

0%

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

Description

This problem appears when a page has this hierarchy

  • BODY
    o HEAD
    + BASE like <base href="www.mydomain.com&quot; />
    + SCRIPT containing the following js: document.createStyleSheet()

In this particular case, IE popups an alert saying: " Internet Explorer cannot open the Internet site localhost:8080/tacos4-demo/app. Operation aborted ".

I discovered this bug while testing adaltas_dojo_0_9_beta on IE 6. Typo3 and dojo in its next version (0.9, currently beta) are incompatible on IE.

The bug is describe here:
http://tacoscomponents.jot.com/BugReporter/Bug86
http://trac.dojotoolkit.org/ticket/557

The solution:
in file typo3_src-4.1.3/typo3/sysext/cms/tslib/class.tslib_pagegen.php at line 489,
replace
<base href="'.htmlspecialchars($GLOBALS['TSFE']->baseUrl).'" />';
by
<base href="'.htmlspecialchars($GLOBALS['TSFE']->baseUrl).'" />';
(issue imported from #M6129)


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #17591: <base> tag produces text selection problems in IE6ClosedDmitry Dulepov2007-09-08

Actions
Is duplicate of TYPO3 Core - Bug #19401: Problem with Base HrefClosed2008-10-01

Actions
Actions #1

Updated by Michael Stucki over 16 years ago

The baseUrl needs to contain "http://"

Actions #2

Updated by David Worms over 16 years ago

Right, my bad, I was just putting some sample value. It should write:

The problem is not related to this and is still present.

Actions #3

Updated by Chris topher almost 14 years ago

Resolved as won't fix after having a look at #17591.

Quotation of what Dmitry proposes:
Use TS conditions to solve the problem:

[browser = msie][version < 7]
page.headerData.100 = TEXT
page.headerData.100 = <base href="http://example.com/&quot;&gt;&lt;/base>
[else]
config.baseTag = http://example.com/
[global]

Actions #4

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF