Encode URIs out.
Encode paths out.
Add changes file for #4592.