Re: CSRF Token: is it okay if it is attached to my url when I enter my form?

2014-10-05 Thread Wyatt Baldwin
On Friday, October 3, 2014 6:26:43 AM UTC-7, Sabine Maennel wrote: > > Please help: I am confused whether it is okay that it is showing in the > url like this: > > > > http://netteachers.de/bewerbung/formular?csrfmiddlewaretoken=2jKsplZsQx5XpBfltUaDmgJjhRiCllxQ > > > This happens when I enter my f

Re: CSRF Token: is it okay if it is attached to my url when I enter my form?

2014-10-04 Thread Sabine Maennel
Thank you Collin and Thundebabzy, you identified the problem I think. When I call the form for the first time it is called the wrong way. I will fix this! Am Freitag, 3. Oktober 2014 16:57:23 UTC+2 schrieb Collin Anderson: > > However you would have that behavior when you are submitting a form

Re: CSRF Token: is it okay if it is attached to my url when I enter my form?

2014-10-03 Thread Collin Anderson
> > However you would have that behavior when you are submitting a form with a > GET. You should use POST to submit your form instead of GET. > Yes, use: -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and st

Re: CSRF Token: is it okay if it is attached to my url when I enter my form?

2014-10-03 Thread Babatunde Akinyanmi
I don't think its risky to have csrf token in the url since its in open view in the page's source anyway (I'm not a security expert so that with a very large bag of salt). However you would have that behavior when you are submitting a form with a GET. You should use POST to submit your form instead

CSRF Token: is it okay if it is attached to my url when I enter my form?

2014-10-03 Thread Sabine Maennel
Please help: I am confused whether it is okay that it is showing in the url like this: http://netteachers.de/bewerbung/formular?csrfmiddlewaretoken=2jKsplZsQx5XpBfltUaDmgJjhRiCllxQ This happens when I enter my form ( a CreateView Model Form)? Is that oky or a security risk of any kind? -- Y