Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add X-UA-Compatible header #4946

Merged
merged 1 commit into from
Nov 21, 2018
Merged

Add X-UA-Compatible header #4946

merged 1 commit into from
Nov 21, 2018

Conversation

himdel
Copy link
Contributor

@himdel himdel commented Nov 20, 2018

in situations where IE11 fails to detect the "document mode" correctly,
this header should ensure that IE uses the "edge" mode.

(this probably doesn't help in any case where IE11 is set to force IE7 mode)

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1648338


But see the comments in the BZ, I'm almost sure this is useless, because the problem is not on our side. It won't hurt though, and will fix the problem if I'm wrong :)

EDIT: confirmed in the BZ that this header will indeed override group policy settings

in situations where IE11 fails to detect the "document mode" correctly,
this header should ensure that IE uses the "edge" mode.

(this probably doesn't help in any case where IE11 is set to force IE7 mode)

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1648338
@miq-bot
Copy link
Member

miq-bot commented Nov 20, 2018

Checked commit https://github.com/himdel/manageiq-ui-classic/commit/2304073aa34e9f3dcb0b910644112c7388493b1f with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
0 files checked, 0 offenses detected
Everything looks fine. ⭐

@himdel
Copy link
Contributor Author

himdel commented Nov 20, 2018

cc @martinpovolny .. if you have any idea where this could autodetect wrong and test that this helps...

@mzazrivec mzazrivec self-assigned this Nov 21, 2018
@mzazrivec mzazrivec added this to the Sprint 100 Ending Dec 3, 2018 milestone Nov 21, 2018
@mzazrivec mzazrivec merged commit 123d000 into ManageIQ:master Nov 21, 2018
@himdel himdel deleted the bz1648338 branch November 21, 2018 15:28
simaishi pushed a commit that referenced this pull request Nov 26, 2018
@simaishi
Copy link
Contributor

Hammer backport details:

$ git log -1
commit 7ac37286669adf67a800f9ef1921bf5b0a22caec
Author: Milan Zázrivec <mzazrivec@redhat.com>
Date:   Wed Nov 21 15:49:10 2018 +0100

    Merge pull request #4946 from himdel/bz1648338
    
    Add X-UA-Compatible header
    
    (cherry picked from commit 123d0004042aeb8e6904afd892e981907d7d2156)
    
    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1648338

simaishi pushed a commit that referenced this pull request Nov 27, 2018
@simaishi
Copy link
Contributor

Gaprindashvili backport details:

$ git log -1
commit ea94510bdb09a311df8538a1306b5c706e3a90b6
Author: Milan Zázrivec <mzazrivec@redhat.com>
Date:   Wed Nov 21 15:49:10 2018 +0100

    Merge pull request #4946 from himdel/bz1648338
    
    Add X-UA-Compatible header
    
    (cherry picked from commit 123d0004042aeb8e6904afd892e981907d7d2156)
    
    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1653710

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants