File tree Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ const request = require("request");
15
15
// 1. Go to https://github.com/w3c/web-platform-tests/tree/master/url
16
16
// 2. Press "y" on your keyboard to get a permalink
17
17
// 3. Copy the commit hash
18
- const commitHash = "5be497b5f5a7036e26dc14739aa8d42f643cf94f " ;
18
+ const commitHash = "d179f7eadbe83a6fa9bf7ee85c2de440b8c6dc7d " ;
19
19
20
20
const sourceURL = `https://raw.githubusercontent.com/w3c/web-platform-tests/${ commitHash } /url/urltestdata.json` ;
21
21
const setterSourceURL = `https://raw.githubusercontent.com/w3c/web-platform-tests/${ commitHash } /url/setters_tests.json` ;
Original file line number Diff line number Diff line change @@ -975,14 +975,7 @@ URLStateMachine.prototype["parse path"] = function parsePath(c) {
975
975
this . parseError = true ;
976
976
}
977
977
978
- if ( c === p ( "%" ) &&
979
- this . input [ this . pointer + 1 ] === p ( "2" ) &&
980
- ( this . input [ this . pointer + 2 ] === p ( "e" ) || this . input [ this . pointer + 2 ] === p ( "E" ) ) ) {
981
- this . buffer += "." ;
982
- this . pointer += 2 ;
983
- } else {
984
- this . buffer += encodeChar ( c , isDefaultEncode ) ;
985
- }
978
+ this . buffer += encodeChar ( c , isDefaultEncode ) ;
986
979
}
987
980
988
981
return true ;
You can’t perform that action at this time.
0 commit comments