This is an automated email from the ASF dual-hosted git repository.
remm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/master by this push:
new fe318e4 Missing string
fe318e4 is described below
commit fe318e4fde10251318a99e1d6bcebecfc44d845c
Author: remm <[email protected]>
AuthorDate: Fri Feb 28 17:11:32 2020 +0100
Missing string
---
java/org/apache/coyote/http11/Http11InputBuffer.java | 3 +--
java/org/apache/coyote/http11/LocalStrings.properties | 1 +
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/java/org/apache/coyote/http11/Http11InputBuffer.java
b/java/org/apache/coyote/http11/Http11InputBuffer.java
index 605951d..1620928 100644
--- a/java/org/apache/coyote/http11/Http11InputBuffer.java
+++ b/java/org/apache/coyote/http11/Http11InputBuffer.java
@@ -546,8 +546,7 @@ public class Http11InputBuffer implements InputBuffer,
ApplicationBufferHandler
parsingRequestLineStart = 0;
return true;
}
- throw new IllegalStateException(
- "Invalid request line parse phase:" + parsingRequestLinePhase);
+ throw new IllegalStateException(sm.getString("iib.invalidPhase",
Integer.valueOf(parsingRequestLinePhase)));
}
diff --git a/java/org/apache/coyote/http11/LocalStrings.properties
b/java/org/apache/coyote/http11/LocalStrings.properties
index 6765b87..d744815 100644
--- a/java/org/apache/coyote/http11/LocalStrings.properties
+++ b/java/org/apache/coyote/http11/LocalStrings.properties
@@ -41,6 +41,7 @@ iib.eof.error=Unexpected EOF read on the socket
iib.failedread.apr=Read failed with APR/native error code [{0}]
iib.filter.npe=You may not add a null filter
iib.invalidHttpProtocol=Invalid character found in the HTTP protocol
+iib.invalidPhase=Invalid request line parse phase [{0}]
iib.invalidRequestTarget=Invalid character found in the request target. The
valid characters are defined in RFC 7230 and RFC 3986
iib.invalidheader=The HTTP header line [{0}] does not conform to RFC 7230 and
has been ignored.
iib.invalidmethod=Invalid character found in method name. HTTP method names
must be tokens
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]