Changes between Initial Version and Version 1 of Ticket #28720
- Timestamp:
- Oct 17, 2017, 2:38:38 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #28720 – Description
initial v1 1 ` `HttpRequest.get_full_path`` returns the ``HttpRequest.path`` based full path, including query string. Example: ``/posts/12345/?foo=bar``.1 `HttpRequest.get_full_path` returns the `HttpRequest.path` based full path, including query string. Example: `/posts/12345/?foo=bar`. 2 2 3 We should add a counterpart for ` `HttpRequest.path_info`` that includes the ``SCRIPT_NAME``, if set. Example: ``/scriptname/posts/12345/?foo=bar``3 We should add a counterpart for `HttpRequest.path_info` that includes the `SCRIPT_NAME`, if set. Example: `/scriptname/posts/12345/?foo=bar` 4 4 5 Example use case: Adding hreflang meta tags to your ` `<head>`` section. This must include the ``SCRIPT_NAME`` prefix as well, otherwise invalid URLs are given.5 Example use case: Adding hreflang meta tags to your `<head>` section. This must include the `SCRIPT_NAME` prefix as well, otherwise invalid URLs are given. 6 6 7 7 {{{