File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 15
15
//
16
16
// You can specify all the values or you can default the Revision and Build Numbers
17
17
// 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 " ) ]
20
20
//[assembly: AssemblyInformationalVersion("2.5-filters")]
Original file line number Diff line number Diff line change 1
1
using Newtonsoft . Json ;
2
2
using System ;
3
+ using System . Collections ;
3
4
using System . Collections . Generic ;
4
5
using System . Linq ;
5
6
using System . Text ;
@@ -34,7 +35,7 @@ public override void OnActionExecuting(ActionExecutingContext filterContext)
34
35
35
36
foreach ( var param in filterContext . ActionParameters . ToList ( ) )
36
37
{
37
- if ( param . Value != null )
38
+ if ( param . Value != null && ( param . Value . GetType ( ) . IsValueType || typeof ( IEnumerable ) . IsAssignableFrom ( param . Value . GetType ( ) ) ) )
38
39
{
39
40
bool isParamSet = context . CookieData ? . Values ? . ContainsKey ( param . Key ) == true || parentKeys . Contains ( param . Key ) || filterContext . RouteData . Values . ContainsKey ( param . Key ) ;
40
41
You can’t perform that action at this time.
0 commit comments