Skip to content
This repository was archived by the owner on Aug 13, 2026. It is now read-only.
This repository was archived by the owner on Aug 13, 2026. It is now read-only.

Update rule no-angularjs-sanitization-whitelist #22

Description

Describe the bug

Angular 1.8.1 deprecated $compileProvider.aHrefSanitizationWhitelist and $compileProvider.imgSrcSanitizationWhitelist and replaced them with new methods.

To Reproduce

  1. Inspect source code of the rule
  2. There are no references to aHrefSanitizationTrustedUrlList nor imgSrcSanitizationTrustedUrlList

Expected behavior

Rule is renamed (as per style guide) and supports both old and new method names.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions