You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.
if i write <a ng-href="{{ user.id }}">bla</a>
in a template and user.id is an integer
sanitizeUri function (angular.js:19343) throws an error, that uri.trim is not a function (well it is obviously not)
Expected / new behavior:
probably the uri should be casted to string
Minimal reproduction of the problem with instructions:
Browser: [all | Chrome XX | Firefox XX | Edge XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
Anything else:
The text was updated successfully, but these errors were encountered:
Interpolated content in ngHref must be stringified before being passed to $$sanitizeUri by $sce. Before 1.7.x, the sanitization had happened on the already interpolated value inside $compile.
Closes#16652Fixes#16626
I'm submitting a ...
Current behavior:
if i write
<a ng-href="{{ user.id }}">bla</a>
in a template and user.id is an integer
sanitizeUri function (angular.js:19343) throws an error, that uri.trim is not a function (well it is obviously not)
Expected / new behavior:
probably the uri should be casted to string
Minimal reproduction of the problem with instructions:
http://plnkr.co/edit/sd1UHVd8iHF1rPXNL3Z0
AngularJS version: 1.7.2
Browser: [all | Chrome XX | Firefox XX | Edge XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
Anything else:
The text was updated successfully, but these errors were encountered: