nsabiyera / Oak

Frictionless development for ASP.NET MVC single page web apps. Prototypical and dynamic capabilities brought to C#.
http://amirrajan.github.com/Oak
MIT License
6 stars 7 forks source link

exclusion of antiforgery token from dynamic params #11

Closed amirrajan closed 12 years ago

amirrajan commented 12 years ago

the DynamicParams model binder needs to exclude the key __RequestVerificationToken, so that saves against it don't occur (no point in having it in the object graph).

tests for params model binder are here: https://github.com/amirrajan/Oak/blob/master/Oak.Tests/describe_DynamicParams.cs

amirrajan commented 12 years ago

added in 1.2.1