Images with data URI shouldn't cause mixed content warning

Not reproducible Issue #13273461


Xiaoyin L.
Aug 15, 2017
This issue is public.
Found in
  • Microsoft Edge
Standard affected
Mixed Content

Found in build #
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

Steps to reproduce:

  1. Launch Edge, and navigate to
  2. After the page is fully loaded, you can see there’s no lock icon in the address bar. Then click on the address bar, you can see the webpage does use HTTPS.
  3. Open F12. Go to Console panel. Refresh the page. You can see an error message: "SEC7111: HTTPS security is compromised by data:image/png;base64,[…]"
  4. Repeat steps 1-3 in IE 11, Firefox, and Chrome. Images with data URI are not treated as mixed content in these browsers.

The behavior in Edge that resources with data URI are treated as mixed content is wrong according to the W3C spec "Mixed Content", which says "we also don’t wish to block [data URLs] as mixed content, as they never hit the network". [1] This wrong behavior also affects user experience, since users can’t see the lock icon even though the site uses HTTPS correctly.



Comments and activity

  • Edge version: EdgeHTML 15.15063 on Windows 10 Build 15063 x64 with updates up to August 2017.

  • Microsoft Edge Team

    Changed Assigned To to “Steven K.”

  • Hi 

    I am not able to repro this issue on 15063.540.  Can you verify that this issue still is occurring on that site?  Perhaps the site has been modified.

    I will create a  simplified repro to text data URI usage.


  • I can’t reproduce it on that site either now. I will post back if I find out a way to repro this issue with a simplified PoC.

  • Thanks for the quick reply.  Will you tell me the extended version of Windows you are using?  E.g.  

    To get the
    Windows 10 version number, use the keyboard shortcut Win + S and then type ‘winver’
    without the quotation marks and hit the enter key.

    Also, I was thinking this could be related to this bug report:

    However, that bug report was with an extension and your submission actually disables the lock icon from displays, I.e. has an impact to the session.

  • The extended version is: 15063.540. I don’t have any extensions installed. Thank you for your investigation!

  • Microsoft Edge Team

    Changed Assigned To to “James M.”

  • Hello,

    Thank you for providing this information about the issue. After thorough testing, we are still unable to reproduce this problem in Edge. Please test this behavior in our latest creator build 16299.

    Best Wishes,
    The MS Edge Team

  • Microsoft Edge Team

    Changed Status to “Not reproducible”

You need to sign in to your Microsoft account to add a comment.

Sign in