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.
This still refers to the old name of the added function.