HTTPS Mixed Content Detector

January 19, 2015

HTTPS Mixed Content Detector Plugin

Detects and logs content that will cause mixed content warnings.

When deploying a TLS enabled website, you must ensure that all content loaded on the site is loaded from secure origin.
If your content is loaded from an insecure source, the security of your whole site is compromised and modern browsers
will downgrade your website’s security rating.

The HTTPS Mixed Content Detector plugin attempts to identify sources of mixed content warnings. The plugin will examine
content loaded from the site when admins are viewing the site. Any content that violates the policy of loading content
that originates from “https:” resources will trigger an error and that resource will be logged. Viewing the log will
allow you to examine the site for any warnings and remove them before they cause problems for your website.

Installation

This section describes how to install the plugin and get it working.

  1. Upload https-mixed-content-detector to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Browse your site as an admin
  4. View the reports listed in the “Content Security Policy Reports” page in the admin
  5. Delete each violation report log as you fix it
  6. Rinse and repeat until your site is free of violation reports

Screenshots

  1. Content Security Policy reports are collected in the Content Security Policy Reports list table.

    Content Security Policy reports are collected in the Content Security Policy Reports list table.

  2. Information about Content Security Policy reports is available via WP CLI.

    Information about Content Security Policy reports is available via WP CLI.

Changelog

1.2.0

  • Add check for violation locations
  • Add sampling mode for examining non-logged in traffic
  • Add more content shown in the WP list table

1.1.0

  • Add check for HTTPS domain when logging violation
  • Add list, resolve, remove and unresolve WP CLI commands
  • Update CSP directives to be more specific

1.0.2

  • Remove false positives from the log

1.0.1

  • Limit logging to work only for admins

1.0.0

  • Initial release

Details

  • Version: 1.2.0
  • Active installations: 90
  • WordPress Version: 4.0.1

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars