[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] don't tempt users to add to tigris.org's referer logs

From: Erik Kline <ek_at_google.com>
Date: 2007-05-23 03:28:24 CEST


Not sure if people mind or if this is just a "shrug" but I figured
perhaps a few corporate installations would appreciate not tempting
users to click on the link and unwittingly contribute referer urls to
the subversion.tigris.org logs.

  * subversion/mod_dav_svn/repos.c
    (deliver): If generating html output, don't tempt users to add
    their (possibly internal, corporate) referer links to
    subversion.tigris.org's logs. The anchor tag is removed and the
    href attribute contents are integrated into the plain text.

Index: subversion/mod_dav_svn/repos.c
--- subversion/mod_dav_svn/repos.c (revision 25113)
+++ subversion/mod_dav_svn/repos.c (working copy)
@@ -2789,7 +2789,7 @@
       if (gen_html)
         ap_fputs(output, bb,
                  " </ul>\n <hr noshade><em>Powered by "
- "<a href=\"http://subversion.tigris.org/\">Subversion</a> "
+ "Subversion (http://subversion.tigris.org) "
                  "version " SVN_VERSION "."

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed May 23 03:28:44 2007

This is an archived mail posted to the Subversion Dev mailing list.