You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by re...@apache.org on 2020/02/28 16:15:40 UTC
[tomcat] branch 7.0.x updated: Missing string
This is an automated email from the ASF dual-hosted git repository.
remm pushed a commit to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/7.0.x by this push:
new c93475d Missing string
c93475d is described below
commit c93475d321adcfb3ed8e28e1ab225e35f5471e36
Author: remm <re...@apache.org>
AuthorDate: Fri Feb 28 17:11:32 2020 +0100
Missing string
---
java/org/apache/coyote/http11/InternalNioInputBuffer.java | 2 +-
java/org/apache/coyote/http11/LocalStrings.properties | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/java/org/apache/coyote/http11/InternalNioInputBuffer.java b/java/org/apache/coyote/http11/InternalNioInputBuffer.java
index fba00a1..9cf0dd0 100644
--- a/java/org/apache/coyote/http11/InternalNioInputBuffer.java
+++ b/java/org/apache/coyote/http11/InternalNioInputBuffer.java
@@ -394,7 +394,7 @@ public class InternalNioInputBuffer extends AbstractInputBuffer<NioChannel> {
parsingRequestLineStart = 0;
return true;
}
- throw new IllegalStateException("Invalid request line parse phase:"+parsingRequestLinePhase);
+ throw new IllegalStateException(sm.getString("iib.invalidPhase", Integer.valueOf(parsingRequestLinePhase)));
}
private void expand(int newsize) {
diff --git a/java/org/apache/coyote/http11/LocalStrings.properties b/java/org/apache/coyote/http11/LocalStrings.properties
index b12dd2e..d31f697 100644
--- a/java/org/apache/coyote/http11/LocalStrings.properties
+++ b/java/org/apache/coyote/http11/LocalStrings.properties
@@ -54,6 +54,7 @@ http11protocol.start=Starting Coyote HTTP/1.1 on [{0}]
iib.apr.sslGeneralError=An APR general error was returned by the SSL read operation on APR/native socket [{0}] with wrapper [{1}]. It will be treated as EAGAIN and the socket returned to the poller.
iib.eof.error=Unexpected EOF read on the socket
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org