|
32 | 32 | "search": "?b",
|
33 | 33 | "hash": "#c"
|
34 | 34 | },
|
| 35 | + { |
| 36 | + "input": "https://test:@test", |
| 37 | + "base": "about:blank", |
| 38 | + "href": "https://test@test/", |
| 39 | + "origin": "https://test", |
| 40 | + "protocol": "https:", |
| 41 | + "username": "test", |
| 42 | + "password": "", |
| 43 | + "host": "test", |
| 44 | + "hostname": "test", |
| 45 | + "port": "", |
| 46 | + "pathname": "/", |
| 47 | + "search": "", |
| 48 | + "hash": "" |
| 49 | + }, |
| 50 | + { |
| 51 | + "input": "https://:@test", |
| 52 | + "base": "about:blank", |
| 53 | + "href": "https://test/", |
| 54 | + "origin": "https://test", |
| 55 | + "protocol": "https:", |
| 56 | + "username": "", |
| 57 | + "password": "", |
| 58 | + "host": "test", |
| 59 | + "hostname": "test", |
| 60 | + "port": "", |
| 61 | + "pathname": "/", |
| 62 | + "search": "", |
| 63 | + "hash": "" |
| 64 | + }, |
| 65 | + { |
| 66 | + "input": "non-special://test:@test/x", |
| 67 | + "base": "about:blank", |
| 68 | + "href": "non-special://test@test/x", |
| 69 | + "origin": "null", |
| 70 | + "protocol": "non-special:", |
| 71 | + "username": "test", |
| 72 | + "password": "", |
| 73 | + "host": "test", |
| 74 | + "hostname": "test", |
| 75 | + "port": "", |
| 76 | + "pathname": "/x", |
| 77 | + "search": "", |
| 78 | + "hash": "" |
| 79 | + }, |
| 80 | + { |
| 81 | + "input": "non-special://:@test/x", |
| 82 | + "base": "about:blank", |
| 83 | + "href": "non-special://test/x", |
| 84 | + "origin": "null", |
| 85 | + "protocol": "non-special:", |
| 86 | + "username": "", |
| 87 | + "password": "", |
| 88 | + "host": "test", |
| 89 | + "hostname": "test", |
| 90 | + "port": "", |
| 91 | + "pathname": "/x", |
| 92 | + "search": "", |
| 93 | + "hash": "" |
| 94 | + }, |
35 | 95 | {
|
36 | 96 | "input": "http:foo.com",
|
37 | 97 | "base": "http://example.org/foo/bar",
|
|
3098 | 3158 | {
|
3099 | 3159 | "input": "http:a:@www.example.com",
|
3100 | 3160 | "base": "about:blank",
|
3101 |
| - "href": "http://a:@www.example.com/", |
| 3161 | + "href": "http://[email protected]/", |
3102 | 3162 | "origin": "http://www.example.com",
|
3103 | 3163 | "protocol": "http:",
|
3104 | 3164 | "username": "a",
|
|
3113 | 3173 | {
|
3114 | 3174 | "input": "http:/a:@www.example.com",
|
3115 | 3175 | "base": "about:blank",
|
3116 |
| - "href": "http://a:@www.example.com/", |
| 3176 | + "href": "http://[email protected]/", |
3117 | 3177 | "origin": "http://www.example.com",
|
3118 | 3178 | "protocol": "http:",
|
3119 | 3179 | "username": "a",
|
|
3128 | 3188 | {
|
3129 | 3189 | "input": "http://a:@www.example.com",
|
3130 | 3190 | "base": "about:blank",
|
3131 |
| - "href": "http://a:@www.example.com/", |
| 3191 | + "href": "http://[email protected]/", |
3132 | 3192 | "origin": "http://www.example.com",
|
3133 | 3193 | "protocol": "http:",
|
3134 | 3194 | "username": "a",
|
|
3173 | 3233 | {
|
3174 | 3234 | "input": "http://:@www.example.com",
|
3175 | 3235 | "base": "about:blank",
|
3176 |
| - "href": "http://:@www.example.com/", |
| 3236 | + "href": "http://www.example.com/", |
3177 | 3237 | "origin": "http://www.example.com",
|
3178 | 3238 | "protocol": "http:",
|
3179 | 3239 | "username": "",
|
|
0 commit comments