Project

General

Profile

Actions

Bug #16216

closed

baseUrl IE BUG

Added by Markus Metzger over 18 years ago. Updated over 18 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Communication
Target version:
-
Start date:
2006-06-06
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.0
PHP Version:
4
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

An IE BUG (all versions) leads to missing baseURL information which effects Javascript:

Cause is tslib/class.tslib_pagegen.php

<base href="'.htmlspecialchars($GLOBALS['TSFE']->baseUrl).'" />';

It can be solved by adding </base> tslib/class.tslib_pagegen.php

<base href="'.htmlspecialchars($GLOBALS['TSFE']->baseUrl).'"></base>';

(issue imported from #M3629)

Actions #1

Updated by Martin Kutschker over 18 years ago

This is invalid (X)HTML. As TYPO3's rendering functions are supposed to generate valid XHTML this is unlikely to be changed.

Anyway you can set the base "manually" by adding your own header code via TS.

Could you please post a reference to this bug? I haven't heard of that before.

Actions #2

Updated by Markus Metzger over 18 years ago

Hi again,

the bug is described in the topic " BASE href ignored in javascript"
on page
http://channel9.msdn.com/wiki/default.aspx/Channel9.InternetExplorerProgrammingBugs

/Markus

Actions #3

Updated by Martin Kutschker over 18 years ago

The given reference states that this is a possible unexpected behaviour, but not a bug in itself. Note that IE also doesn't set a referer header when using window.open.

Actions

Also available in: Atom PDF