зеркало из https://github.com/mozilla/gecko-dev.git
servo: Merge #5717 - Fix URLSearchParams formatting (from Ms2ger:usp); r=jdm
Source-Repo: https://github.com/servo/servo Source-Revision: e26219828bfd71c5dfce411f93f2ea5dbb131d7a
This commit is contained in:
Родитель
74e4de0d82
Коммит
34641e0274
|
@ -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);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче