Skip to content

Update rule no-angularjs-sanitization-whitelist #22

@tosmolka

Description

@tosmolka

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.

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