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:
Ms2ger 2015-04-16 14:15:16 -05:00
Родитель 74e4de0d82
Коммит 34641e0274
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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);
}