settings.APPEND_SLASH (CommonMiddleware) does not work well behind multiple proxies
|Reported by:||Damien Nozay||Owned by:||nobody|
|Cc:||Triage Stage:||Ready for checkin|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Description (last modified by )
- https://code.djangoproject.com/ticket/11877 as well.
I'm using the
settings.APPEND_SLASH defaults to
MultipleProxyMiddleware needs to be enabled *before*
APPEND_SLASH to work.
Maybe all this needs is a few more lines where
MultipleProxyMiddleware is documented (or directions to put
MultipleProxyMiddleware first would work too I guess).
Change History (6)
comment:1 Changed 5 years ago by
|Patch needs improvement:||unset|
comment:2 Changed 5 years ago by
|Component:||Uncategorized → Documentation|
|Triage Stage:||Unreviewed → Accepted|
|Type:||Uncategorized → Cleanup/optimization|