Commit a53997e
src: fix leading backslash bug in URL
The associated condition mentioned in the URL parsing algorithm of the
WHATWG URL Standard is:
url is special and c is U+005C (\)
So, `special_back_slash` must be updated whenever `special` is updated.
Fixes: #36559
PR-URL: #36613
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent edf8c6d commit a53997eCopy full SHA for a53997e
File tree
Expand file treeCollapse file tree
2 files changed
+51
-1
lines changedOpen diff view settings
Filter options
- src
- test/cctest
Expand file treeCollapse file tree
2 files changed
+51
-1
lines changedOpen diff view settings
Collapse file
+5-1Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1429 | 1429 | |
1430 | 1430 | |
1431 | 1431 | |
1432 | | - |
| 1432 | + |
1433 | 1433 | |
1434 | 1434 | |
1435 | 1435 | |
| ||
1477 | 1477 | |
1478 | 1478 | |
1479 | 1479 | |
| 1480 | + |
1480 | 1481 | |
1481 | 1482 | |
1482 | 1483 | |
| ||
1521 | 1522 | |
1522 | 1523 | |
1523 | 1524 | |
| 1525 | + |
1524 | 1526 | |
1525 | 1527 | |
1526 | 1528 | |
| ||
1544 | 1546 | |
1545 | 1547 | |
1546 | 1548 | |
| 1549 | + |
1547 | 1550 | |
1548 | 1551 | |
1549 | 1552 | |
| ||
1573 | 1576 | |
1574 | 1577 | |
1575 | 1578 | |
| 1579 | + |
1576 | 1580 | |
1577 | 1581 | |
1578 | 1582 | |
|
Collapse file
+46Lines changed: 46 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
81 | 81 | |
82 | 82 | |
83 | 83 | |
| 84 | + |
| 85 | + |
| 86 | + |
| 87 | + |
| 88 | + |
| 89 | + |
| 90 | + |
| 91 | + |
| 92 | + |
| 93 | + |
| 94 | + |
| 95 | + |
| 96 | + |
| 97 | + |
| 98 | + |
| 99 | + |
| 100 | + |
| 101 | + |
| 102 | + |
| 103 | + |
| 104 | + |
| 105 | + |
| 106 | + |
| 107 | + |
| 108 | + |
| 109 | + |
| 110 | + |
| 111 | + |
| 112 | + |
| 113 | + |
| 114 | + |
| 115 | + |
| 116 | + |
| 117 | + |
| 118 | + |
| 119 | + |
| 120 | + |
| 121 | + |
| 122 | + |
| 123 | + |
| 124 | + |
| 125 | + |
| 126 | + |
| 127 | + |
| 128 | + |
| 129 | + |
84 | 130 | |
85 | 131 | |
86 | 132 | |
|
0 commit comments