We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f38705 commit 08cc6edCopy full SHA for 08cc6ed
1 file changed
test/ng/sanitizeUriSpec.js
@@ -31,6 +31,7 @@ describe('sanitizeUri', function() {
31
});
32
33
it('should sanitize javascript: urls with comments', function() {
34
+ /* jshint scripturl:true */
35
testUrl = "javascript:alert(1)//data:image/";
36
expect(sanitizeImg(testUrl)).toBe('unsafe:javascript:alert(1)//data:image/');
37
0 commit comments