Fixed #18456 -- Escape path returned by `HttpRequest.get_full_path()`.

https://code.djangoproject.com/ticket/18456
Done.