mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Fix URLSearchParams formatting.
This commit is contained in:
parent
0307caa4bb
commit
9df501afd9
3 changed files with 1 additions and 101 deletions
|
@ -140,7 +140,7 @@ impl URLSearchParamsHelpers for URLSearchParams {
|
|||
|
||||
// Encode everything else using 'percented-encoded bytes'
|
||||
// https://url.spec.whatwg.org/#percent-encode
|
||||
a => format!("%{:X}", a).into_bytes(),
|
||||
a => format!("%{:02X}", a).into_bytes(),
|
||||
};
|
||||
buf.push_all(&append);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue