Project

General

Profile

Actions

Bug #76166

closed

Set X-UA-Compatible in ModuleTemplate for frontend editing

Added by Christian Weiske almost 8 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2016-05-12
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
On Location Sprint

Description

A customer of us uses Internet Explorer which is configured to use the compatibility mode by default.

The normal TYPO3 backend fixes this in #63150 by setting the IE render mode meta tag

<meta http-equiv="X-UA-Compatible" content="edge" />

This is output in the TYPO3 root frameset page via DocumentTemplate.

In frontend editing, this root frameset - and thus the compat tag - is missing.
When editing content elements or page properties, the layout is broken.


The solution would be to add the render mode tag in ModuleTemplate, too.


Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Task #63150: Set X-UA-Compatible meta tag for BEClosedBenni Mack2014-11-23

Actions
Related to TYPO3 Core - Task #30664: Set X-UA-Compatible to IE=9 for BackendClosedSteffen Gebert2011-10-08

Actions
Related to TYPO3 Core - Bug #49118: X-UA-CompatibleClosed2013-06-14

Actions
Actions #1

Updated by Wouter Wolters almost 8 years ago

Can't you set the following header in the .htaccess?

Header set X-UA-Compatible "IE=edge"

Actions #2

Updated by Christian Weiske almost 8 years ago

I can try that, or better the setting that's correct for nginx.

But that would only help me, and not others.

Actions #3

Updated by Wouter Wolters almost 8 years ago

I don't think setting this by default is a good idea.

From http://stackoverflow.com/questions/26346917/why-use-x-ua-compatible-ie-edge-anymore

As David pointed out, outside of a page located in the "Local Intranet" zone, there is very little reason to include <meta http-equiv="X-UA-Compatible" content="IE=edge"> in your webpages, and absolutely no reason to include it in the HTML. (You should follow Microsoft's best practice recommendations and place it in your server config or site headers -- not in the HTML itself -- if you need it).

Actions #4

Updated by Christian Weiske almost 8 years ago

If this is the official stance, then TYPO3 should completely drop this HTML head tag and not have it enabled in one place but not on the other.

Actions #5

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from New to Needs Feedback

A possible solution could be adding it only if you are logged in the backend, that is:

[globalVar = TSFE:beUserLogin = 1]
page.meta.X-UA-Compatible = IE=edge
page.meta.X-UA-Compatible.httpEquivalent = 1
[global]

I also guess that the new frontend editing does not need it at all.

Do you think it is sufficient to consider this issue closed? Thank you.

Actions #6

Updated by Christian Weiske over 6 years ago

No, this issue is not closed. You posted a workaround that one could use after someone already stumbled over this bug.
The correct solution would be to add the fix to TYPO3 itself, so that the bug never appears at all.

Actions #7

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Needs Feedback to New
Actions #8

Updated by Susanne Moog over 5 years ago

  • Sprint Focus set to On Location Sprint
Actions #9

Updated by Gerrit Code Review over 5 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58744

Actions #10

Updated by Susanne Moog over 5 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #11

Updated by Benni Mack almost 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF