-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Currently the following strings won't be changed corresponding to the tests:
www.foo.comgoogle.comhttp://www.bar.com//baz.com
from test.js:
// Non-changing string, should not get replaced
var ok = ''
+ '<img src="www.foo.com" />'
+ '<img src="google.com" />'
+ '<img src="http://www.bar.com" />'
+ '<img src="//baz.com" />'Though I think targets without protocol (or //) are not valid URLs and should pass for being relative paths (in this test case this applies to www.foo.com and google.com).
AFAIK most browsers consider such targets as relative URLs, too.
Metadata
Metadata
Assignees
Labels
No labels