Previously Jonathan Vanasco wrote: > > 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
A regexp can't detect if it is dealing with html or xhtml. Wichert. -- Wichert Akkerman <[EMAIL PROTECTED]> It is simple to make things. http://www.wiggy.net/ It is hard to make things simple. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to pylons-discuss@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---