Auto merge of #5717 - Ms2ger:usp, r=jdm

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5717)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2015-04-16 14:15:16 -05:00
commit e26219828b
3 changed files with 1 additions and 101 deletions

View file

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