Patent ID: 8516313

Claim:
A computer-implemented method, comprising: receiving, with a processor, a web resource request that includes one or more request string components; accessing an error detection directive identifying a first type of error to be located in a specified request string component; where the web resource request includes a URL address string component, a query string component, and a post body string component and where types of errors include a null byte error, a strict encoding error, a double encoding error, or a valid Unicode error; with the processor, searching, in a single pass, at least a portion of a first request string component in the web resource request that corresponds to the specified request string component for the first type of error and other types of errors; recording, in a computer-readable medium, occurrences of the first and other types of errors for responding to subsequent error detection directives for the first and other types of errors, such that a subsequent error detection directive for at least one of the first and other types of errors in the first request string component is processed without re-searching the portion of the first request string component already searched with respect to the first error detection directive; and generating results of the search of the first request string component for the first type of error.