Fix for bug 2538060. Decoding and encoding an URL.

Just encoding [ and ] instead of decoding and encoding again. This is because decoding is not a reversible function so we might not always get back to
the same URL.

Tested against bug 1634719, which this was a fix for.

Change-Id: I041820c15e0a0cf2e6a20bea3801e8b5039d39d5
1 file changed