Commit 824978e
url: do not decode arbitrary %2e sequences in paths
Per a recent change to the URL spec, arbitrary %2e sequences
in URL paths that are not single or double dot segments are
not to be decoded.
Refs: whatwg/url#87
Refs: whatwg/url#156
Refs: web-platform-tests/wpt@d93247d
Fixes: #10598
PR-URL: #10602
Reviewed-By: Michal Zasso <targos@protonmail.com>
Reviewed-By: Italo A. Casas <me@italoacasas.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>1 parent e46bdcf commit 824978eCopy full SHA for 824978e
File tree
Expand file treeCollapse file tree
3 files changed
+12
-17
lines changedOpen diff view settings
Filter options
- src
- test/fixtures
Expand file treeCollapse file tree
3 files changed
+12
-17
lines changedOpen diff view settings
Collapse file
+1-6Lines changed: 1 addition & 6 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1214 | 1214 | |
1215 | 1215 | |
1216 | 1216 | |
1217 | | - |
1218 | | - |
1219 | | - |
1220 | | - |
1221 | | - |
1222 | | - |
| 1217 | + |
1223 | 1218 | |
1224 | 1219 | |
1225 | 1220 | |
|
Collapse file
test/fixtures/url-setter-tests.json
Copy file name to clipboardExpand all lines: test/fixtures/url-setter-tests.json+5-5Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
953 | 953 | |
954 | 954 | |
955 | 955 | |
956 | | - |
957 | | - |
| 956 | + |
| 957 | + |
958 | 958 | |
959 | 959 | |
960 | 960 | |
| ||
967 | 967 | |
968 | 968 | |
969 | 969 | |
970 | | - |
| 970 | + |
971 | 971 | |
972 | 972 | |
973 | 973 | |
974 | | - |
975 | | - |
| 974 | + |
| 975 | + |
976 | 976 | |
977 | 977 | |
978 | 978 | |
|
Collapse file
test/fixtures/url-tests.json
Copy file name to clipboardExpand all lines: test/fixtures/url-tests.json+6-6Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1847 | 1847 | |
1848 | 1848 | |
1849 | 1849 | |
1850 | | - |
| 1850 | + |
1851 | 1851 | |
1852 | 1852 | |
1853 | 1853 | |
1854 | 1854 | |
1855 | 1855 | |
1856 | 1856 | |
1857 | 1857 | |
1858 | | - |
| 1858 | + |
1859 | 1859 | |
1860 | 1860 | |
1861 | 1861 | |
1862 | 1862 | |
1863 | 1863 | |
1864 | 1864 | |
1865 | | - |
| 1865 | + |
1866 | 1866 | |
1867 | 1867 | |
1868 | 1868 | |
1869 | 1869 | |
1870 | 1870 | |
1871 | 1871 | |
1872 | 1872 | |
1873 | | - |
| 1873 | + |
1874 | 1874 | |
1875 | 1875 | |
1876 | 1876 | |
| ||
2288 | 2288 | |
2289 | 2289 | |
2290 | 2290 | |
2291 | | - |
| 2291 | + |
2292 | 2292 | |
2293 | 2293 | |
2294 | 2294 | |
2295 | 2295 | |
2296 | 2296 | |
2297 | 2297 | |
2298 | 2298 | |
2299 | | - |
| 2299 | + |
2300 | 2300 | |
2301 | 2301 | |
2302 | 2302 | |
|
0 commit comments