Skip to content

Commit fe59775

Browse files
author
manico.james
committed
removing antisamy error code, for now
1 parent 72bc7c6 commit fe59775

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/main/java/org/owasp/esapi/reference/validation/HTMLValidationRule.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ private String invokeAntiSamy( String context, String input, boolean throwExcept
9898
AntiSamy as = new AntiSamy();
9999
CleanResults test = as.scan(canonical, antiSamyPolicy);
100100

101+
/*
102+
//WWWILLLLLIIAAMSSSSSSSSSSSSSSSSS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
101103
// if there are any errors, wrap them up and throw a ValidationException
102104
List errors = test.getErrorMessages();
103105
if ( errors.size() > 0 ) {
@@ -106,6 +108,7 @@ private String invokeAntiSamy( String context, String input, boolean throwExcept
106108
throw e;
107109
}
108110
}
111+
*/
109112

110113
return(test.getCleanHTML().trim());
111114

0 commit comments

Comments
 (0)