Author: toad
Date: 2009-01-07 18:17:32 +0000 (Wed, 07 Jan 2009)
New Revision: 24963

Modified:
   trunk/freenet/src/freenet/clients/http/SimpleToadletServer.java
   trunk/freenet/src/freenet/l10n/freenet.l10n.en.properties
Log:
freenet.url.dat not freenet.url


Modified: trunk/freenet/src/freenet/clients/http/SimpleToadletServer.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/SimpleToadletServer.java     
2009-01-07 17:55:14 UTC (rev 24962)
+++ trunk/freenet/src/freenet/clients/http/SimpleToadletServer.java     
2009-01-07 18:17:32 UTC (rev 24963)
@@ -348,7 +348,7 @@
                        url += fixLink("/");
                else
                        url += "/";
-               File f = new File(node.getNodeDir(), "freenet.url");
+               File f = new File(node.getNodeDir(), "freenet.url.dat");
                FileOutputStream fos = null;
                try {
                        fos = new FileOutputStream(f);
@@ -356,8 +356,8 @@
                        osw.write(url+(File.separatorChar == '\\' ? "\r" : "") 
+ "\n");
                        osw.flush();
                } catch (IOException e) {
-                       Logger.error(this, "Unable to write URL "+url+" to 
freenet.url: browse.sh/browse.cmd may have difficulty! : "+e, e);
-                       System.err.println("Unable to write URL "+url+" to 
freenet.url: browse.sh/browse.cmd may have difficulty! : "+e);
+                       Logger.error(this, "Unable to write URL "+url+" to 
freenet.url.dat: browse.sh/browse.cmd may have difficulty! : "+e, e);
+                       System.err.println("Unable to write URL "+url+" to 
freenet.url.dat: browse.sh/browse.cmd may have difficulty! : "+e);
                } finally {
                        Closer.close(fos);
                }

Modified: trunk/freenet/src/freenet/l10n/freenet.l10n.en.properties
===================================================================
--- trunk/freenet/src/freenet/l10n/freenet.l10n.en.properties   2009-01-07 
17:55:14 UTC (rev 24962)
+++ trunk/freenet/src/freenet/l10n/freenet.l10n.en.properties   2009-01-07 
18:17:32 UTC (rev 24963)
@@ -1144,7 +1144,7 @@
 SimpleToadletServer.doRobots=Exclude robots via robots.txt?
 SimpleToadletServer.doRobotsLong=Whether to serve a /robots.txt telling 
google, spiders, wget, etc to go away
 SimpleToadletServer.enableHistoryCloaking=Enable history cloaking?
-SimpleToadletServer.enableHistoryCloakingLong=Prevent websites from being able 
to tell which freesites you have visited. If true, the Freenet web interface 
will require a ?secureid= parameter on every page. Links on freesites and on 
the web interface will include this, and Freenet will generate a file 
freenet.url for the start url, including the ?secureid=. Only turn this off if 
you never use the same browser for Freenet as for non-anonymous websites.
+SimpleToadletServer.enableHistoryCloakingLong=Prevent websites from being able 
to tell which freesites you have visited. If true, the Freenet web interface 
will require a ?secureid= parameter on every page. Links on freesites and on 
the web interface will include this, and Freenet will generate a file 
freenet.url.dat for the start url, including the ?secureid=. Only turn this off 
if you never use the same browser for Freenet as for non-anonymous websites.
 SimpleToadletServer.enableJS=Enable FProxy use of Javascript?
 SimpleToadletServer.enableJSLong=Whether or not FProxy should use Javascript 
"helpers". This setting should be turned to false in most cases. Note that 
freesites may not use javascript even if this is enabled.
 SimpleToadletServer.enabled=Enable FProxy?

_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs

Reply via email to