Skip to content

Built-in privacy plugin does not replace all external URLs #8040

@LarsWegm

Description

@LarsWegm

Context

No response

Bug description

With mkdocs-material-9.6.5 the built-in privacy plugin does not replace all external URLs. For example, fonts and stylesheets from fonts.gstatic.com are not replaced, but the Javascript for mermaid.js from unpkg.com is replaced. It was working fine in version 9.6.4.

Network connections with privacy plugin and mkdocs-material 9.6.5:

Image

Network connections with privacy plugin and mkdocs-material 9.6.4:

Image

Related links

Reproduction

9.6.5-privacy-plugin-broken.zip

Steps to reproduce

  1. Run mkdocs serve or mkdocs build with privacy plugin enabled
  2. Open network monitor in browser tools
  3. Navigate to mkdocs page and observe the network connections

Browser

No response

Before submitting

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue reports a bugresolvedIssue is resolved, yet unreleased if open

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions