clickstream/src/com/opensymphony/clickstream ClickstreamRequest.java,1.3,1.4

[email protected]
Newsgroups gmane.comp.java.open-symphony.cvs
Message-ID <[email protected]>
Update of /cvsroot/opensymphony/clickstream/src/com/opensymphony/clickstream
In directory sc8-pr-cvs1:/tmp/cvs-serv12350/clickstream/src/com/opensymphony/clickstream

Modified Files:
	ClickstreamRequest.java 
Log Message:
Do not include the remote user in the toString() as it can be used in a href.

Index: ClickstreamRequest.java
===================================================================
RCS file: /cvsroot/opensymphony/clickstream/src/com/opensymphony/clickstream/ClickstreamRequest.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- ClickstreamRequest.java	2 Sep 2003 09:17:43 -0000	1.3
+++ ClickstreamRequest.java	8 Sep 2003 12:50:30 -0000	1.4
@@ -60,7 +60,7 @@
 
     /**
      * Returns a string representation of the HTTP request being tracked.
-     * Example: <b>www.opensymphony.com/some/path.jsp?arg1=foo&arg2=bar (remoteuser)</b>
+     * Example: <b>www.opensymphony.com/some/path.jsp?arg1=foo&arg2=bar</b>
      *
      * @return  a string representation of the HTTP request being tracked.
      */
@@ -68,7 +68,6 @@
         return serverName +
                 (serverPort != 80 ? ":" + serverPort : "") +
                 requestURI +
-                (queryString != null ? "?" + queryString : "") +
-                (remoteUser != null ? "(" + remoteUser + ")" : "");
+                (queryString != null ? "?" + queryString : "");
     }
-}
+}
\ No newline at end of file




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.