﻿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
9397	weird HttpResponseRedirect reaction to url	billychasen	nobody	"If I have a url defined, such as:
{{{
(r'^hello$', 'mysite.index.views.hello')
}}}
and let's say I have a page on http://mysite.net that redirects via `HttpResponseRedirect(reverse('mysite.index.views.hello'))`

If I am at `http://www.mysite.net` -- it correctly goes to `http://www.mysites.net/hello`

If I am at `http://mysite.net` (no www) -- it redirects to `http://mysite.net/.net/hello`

It's easily fixed by changing the url definition to

{{{
(r'^hello/$', 'mysite.index.views.hello')
}}}
(adding a trailing forward slash)

Seems to me though, that this shouldn't be required (seems a little buggy and took awhile to track down)"		new	HTTP handling	1.0					Unreviewed	0	0	0	0	0	0
