angular/angular.js

version 1.8.1 mutually-supporting (2020-09-30) - Deprecation Notices are not correct!

korengal opened this issue · 1 comments

I'm submitting a ...

  • regression from 1.7.0
  • security issue
  • issue caused by a new browser version
  • [ X] other

In the new release docs:
Deprecated aHrefSanitizationWhitelist. It is now aHrefSanitizationTrustedUri

When I try changing aHrefSanitizationWhitelist to aHrefSanitizationTrustedUri it I'm getting "TypeError: $compileProvider.aHrefSanitizationTrustedUri is not a function".

For now, aHrefSanitizationWhitelist still works fine.

444444444444444444444444444

AngularJS version: 1.8.1

Thanks.

mgol commented

Yeah, the changelog is incorrect. It should say aHrefSanitizationTrustedUrlList & imgSrcSanitizationTrustedUrlList.

Fortunately, at least the docs are correct: