﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
32005	Allow disabling of auto-404-redirection in LocaleMiddleware	Alex Vandiver	nobody	"This is related to the last two comments on #17734.  Specifically, if an application decides to return an explicit 404, there is no way to prevent the LocaleMiddleware from overriding this and trying the language redirect.

In those comments, it was about catch-all URL patterns.  I'm running into something related, but slightly different -- we [https://github.com/zulip/zulip/blob/536bd3188e9428993fd712ed2f0df7c160b6ad60/zerver/middleware.py#L453 serve 404's for the `/` endpoint if the subdomain isn't valid], which the LocaleMiddleware unhelpfully redirects to (e.g.) `/en/` which isn't any less of a 404.

Would folks be amenable to a patch which disabled the auto-404-redirect functionality in the middleware with a flag of some sort?"	New feature	closed	Internationalization	3.1	Normal	wontfix			Unreviewed	0	0	0	0	0	0
