Skip to content

Commit e90bc35

Browse files
authored
binary type validator does not work
Added a case to check if the type is binary
1 parent 2dee45c commit e90bc35

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

models/validators/TypeValidator.cfc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,10 @@ component
170170
r = isXML( arguments.targetValue );
171171
break;
172172
}
173+
case "binary": {
174+
r = isValid( "binary", arguments.targetValue );
175+
break;
176+
}
173177
}
174178

175179
if ( !r ) {

0 commit comments

Comments
 (0)