On 09/03/11 13:07, Camilo Nova wrote:
Gabriel, thanks for your response.
How can i test the code that makes this crsf verification from the
header, from my
other testings this only happens after django make a fix in the latest
security release.
I would like to make a test enviroment, where can i start to look?
It sounds like you are asking how you can write a test that will catch
this kind of problem. Since this is an AJAX issue, your test will have
to include browser automation of some kind, like Selenium. But this is
not django-developers territory now...
Other tests for the CSRF verification are included in Django's own test
suite, in tests/regressiontests/csrf_tests.
Luke
--
"Despair: It's always darkest just before it goes pitch black."
(despair.com)
Luke Plant || http://lukeplant.me.uk/
--
You received this message because you are subscribed to the Google Groups "Django
developers" group.
To post to this group, send email to django-developers@googlegroups.com.
To unsubscribe from this group, send email to
django-developers+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/django-developers?hl=en.