neat bob.

I kind of like how django hacked it as a middleware filter though...

maybe i could take your code and push it into two decorators...

@csrf_protect_form - set global that will regex forms and add tokens
@csrf_protect_submit - handles the token validation

Matt-
I kind of hate REST, so I'm not worried about it.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to