Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

*) Bugfix for ProxyAccess Logger URL was accidentally logged without the parameters

thelie3aa3a2d7554
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