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 21579,i18n_patterns redirect not working with script prefix (sub path),buettgenbach@…,nobody,"Assume the following url pattern: {{{ urlpatterns += i18n_patterns('', url(r'^imprint/$', view, name='imprint'), ) }}} ""en"" is the default language. When running Django (for example behind a reverse proxy) a request to ''/imprint/'' with ''SCRIPT_NAME='script_prefix""'' leads to the redirect ''""/en/script_prefix/imprint/""'' instead of ''""/script_prefix/en/imprint/""''. I've already provided a patch with test. But I'm uncertain about the test, since the test client does not seem to call ''set_script_prefix'' (might be thought of as a bug???)",Bug,closed,Core (URLs),dev,Normal,fixed,i18n_patterns SCRIPT_NAME i18n prefix,,Ready for checkin,1,0,0,0,0,0