Commit 7a3c69f
Percent-encode additional characters in "fragment state"
Currently, we percent-encode characters in "fragment state" using the C0
control percent-encode set. Firefox encodes more than that, and it seems
reasonable to align around that behavior for reasons spelled out in #291
and the comments of #344.
This patch adds a new "fragment percent-encode set" which contains the
C0 control percent-encode set, along with:
* 0x20 (SP)
* 0x22 (")
* 0x3C (<)
* 0x3E (>)
* 0x60 (`)
Tests: web-platform-tests/wpt#7776.
Closes #344.1 parent b1e358d commit 7a3c69f
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
182 | 185 | | |
183 | | - | |
184 | | - | |
| 186 | + | |
185 | 187 | | |
186 | 188 | | |
187 | 189 | | |
| |||
2184 | 2186 | | |
2185 | 2187 | | |
2186 | 2188 | | |
2187 | | - | |
| 2189 | + | |
2188 | 2190 | | |
2189 | 2191 | | |
2190 | 2192 | | |
| |||
0 commit comments