File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 1515//
1616// You can specify all the values or you can default the Revision and Build Numbers
1717// by using the '*' as shown below:
18- [ assembly: AssemblyVersion ( "3.2.7 " ) ]
19- [ assembly: AssemblyFileVersion ( "3.2.7 " ) ]
18+ [ assembly: AssemblyVersion ( "3.2.8 " ) ]
19+ [ assembly: AssemblyFileVersion ( "3.2.8 " ) ]
2020//[assembly: AssemblyInformationalVersion("2.5-filters")]
Original file line number Diff line number Diff line change 11using Newtonsoft . Json ;
22using System ;
3+ using System . Collections ;
34using System . Collections . Generic ;
45using System . Linq ;
56using System . Text ;
@@ -34,7 +35,7 @@ public override void OnActionExecuting(ActionExecutingContext filterContext)
3435
3536 foreach ( var param in filterContext . ActionParameters . ToList ( ) )
3637 {
37- if ( param . Value != null )
38+ if ( param . Value != null && ( param . Value . GetType ( ) . IsValueType || typeof ( IEnumerable ) . IsAssignableFrom ( param . Value . GetType ( ) ) ) )
3839 {
3940 bool isParamSet = context . CookieData ? . Values ? . ContainsKey ( param . Key ) == true || parentKeys . Contains ( param . Key ) || filterContext . RouteData . Values . ContainsKey ( param . Key ) ;
4041
You can’t perform that action at this time.
0 commit comments