--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-develop...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/0afe6cd9-952e-46a7-b756-10bb04eb70e9%40googlegroups.com.
I'd be against thisMerging multiple slashes is a way of duplicating canonical URL's for things, something Django actively tries to avoid with APPEND_SLASHES.If you want this functionality you should be able to create it yourself with a custom URL converter or URLPattern subclass.
On Wed, 4 Mar 2020 at 14:41, Bjoern Boschman <bjoern....@tvsquared.com> wrote:
Hi,I'd like to start a discussion about how django handles multiple slashes.So far I can confirm that nginx, apache and unix folders handle multiple slashes the same way (-> they get merged)What's your (dev) opinion on this?CheersB
TV Squared Limited is a company registered in Scotland. Registered number: SC421072. Registered office: CodeBase, Argyle House, 3 Lady Lawson Street, Edinburgh, EH3 9DR.
TV Squared Inc (File No. 5600204) is an Incorporated company registered in Delaware. Principal office: 1412 Broadway, 22 Fl, New York, New York, 10018
TV Squared GmbH is a company registered in Munich. Registered number: HRB 236077. Registered office: Oskar-von-Miller-Ring 20, c/o wework, 80333 Munchen
This message is private and confidential. If you have received this message in error, please notify us and remove it from your system.
--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-d...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/0afe6cd9-952e-46a7-b756-10bb04eb70e9%40googlegroups.com.
--Adam
Note that compression is essential for the correct matching of prefix string and regular expression locations. Without it, the “//scripts/one.php” request would not match
location /scripts/ { ...
Turning the compression off can become necessary if a URI contains base64-encoded names, since base64 uses the “/” character internally. However, for security considerations, it is better to avoid turning the compression off
To unsubscribe from this group and stop receiving emails from it, send an email to django-develop...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/fce90055-ce46-4704-b81e-afc64bcde358%40googlegroups.com.