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