Tuesday, November 3, 2009

Re: satchmo SSLRedirectMiddleware for /admin not working with 1.1.1

Hi

Still chasing this one, and it seems that POSTs in the admin will use
http, not https when posting. Looking at the admin template, the
action is {{ form_url }} - this seems to be None, I was wondering
about using something like request.HTTP_REFERER in there, to make sure
it stays on https - any clues?

Thanks,

On 27 Oct, 15:48, captainmish <captainm...@gmail.com> wrote:
> Hello
>
> First apologies for cross-posting, this is also a discussion in
> satchmo-users.
>
> I am trying to secure admin urls using satchmo's (0.9)SSLRedirectMiddleware, using HTTPS_PATHS in settings. It works
> perfectly in django 1.1, but breaks in 1.1.1 with "Django can't
> perform a SSL redirect while maintaining POST data. Please structure
> your views so that redirects only occur during GETs."
>
> I guess my job is now to look at what changed in this update and
> figure out what is causing this, but hoping that someone else may be
> able to help or give some tips on this!
>
> Any thoughts/tips/RTFMs welcome!
>
> Thanks,
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate