Class ParseErrorLine
java.lang.Object
org.apache.pekko.http.impl.model.parser.ParseErrorLine
INTERNAL API
Renders the input line a parse error occurred on with a caret under the failing position, the way parboiled2's
ErrorFormatter.formatErrorLine does, but with every control character escaped the way ErrorFormatter.format
already escapes the offending character in its summary.
The line is attacker-controlled -- a request target, a header value -- and the default
error-logging-verbosity = full writes it to the log, so a raw CR, ESC or NUL in it would let a client inject
line breaks or terminal control sequences into log output.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ParseErrorLine
public ParseErrorLine()
-
-
Method Details
-
render
-