It may have something to do with the CommonMiddleware:

http://www.djangoproject.com/documentation/middleware/#django-middleware-common-commonmiddleware

It doesn't see the trailing slash on your query : /app? and redirects
to /app/?

Your redirect is strange, it could be a misuse of a regexp in your
urls.py

Could you show it here ?

And what happens if you add this to your settings.py ?

APPEND_SLASH = False


On Oct 24, 8:40 am, Dani <[EMAIL PROTECTED]> wrote:
> Hi,
> I'm a bit new to django, so I hope this isn't too stupid.
>
> Can anyone explain why when I'm accessing this 
> address:http://localhost:8000/app?a=1&b=2&c=3
>
> I'm getting a redirected to this 
> address?http://localhost:8000/homeless/?a=1&c=3&b=2
>
> This causes a problem, because I'm using a weird encoding in one of
> the query stings, and the redirected value encodes it again, the wrong
> way.
> I guess this is a bug, because in order to read it I used the encoding
> attribute of httprequest which is new.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to