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

The path part of `HttpRequest.get_full_path()` is now escaped according to RFC
2396.