From e3aa3a2d7554cd742f25a1d28d01f74cf73296e4 Mon Sep 17 00:00:00 2001 From: theli Date: Tue, 30 Aug 2005 11:37:54 +0000 Subject: [PATCH] *) Bugfix for ProxyAccess Logger URL was accidentally logged without the parameters git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@604 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/de/anomic/http/httpdProxyHandler.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/source/de/anomic/http/httpdProxyHandler.java b/source/de/anomic/http/httpdProxyHandler.java index 8b7e930e8..e70abc361 100644 --- a/source/de/anomic/http/httpdProxyHandler.java +++ b/source/de/anomic/http/httpdProxyHandler.java @@ -1223,8 +1223,13 @@ public final class httpdProxyHandler extends httpdAbstractHandler implements htt this.logMessage.append(' '); // URL - String requestURL = this.connectionProperties.getProperty(httpd.CONNECTION_PROP_URL); + String requestURL = this.connectionProperties.getProperty(httpd.CONNECTION_PROP_URL); + String requestArgs = this.connectionProperties.getProperty(httpd.CONNECTION_PROP_ARGS); this.logMessage.append(requestURL); + if (requestArgs != null) { + this.logMessage.append("?") + .append(requestArgs); + } this.logMessage.append(' '); // Rfc931