Fix url decoding bugs with /redact and /send APIs.