Author: xor
Date: 2008-11-14 02:12:40 +0000 (Fri, 14 Nov 2008)
New Revision: 23562
Modified:
trunk/plugins/WoT/introduction/IntroductionPuzzle.java
Log:
Change the separator in the URI.
Modified: trunk/plugins/WoT/introduction/IntroductionPuzzle.java
===================================================================
--- trunk/plugins/WoT/introduction/IntroductionPuzzle.java 2008-11-14
01:46:16 UTC (rev 23561)
+++ trunk/plugins/WoT/introduction/IntroductionPuzzle.java 2008-11-14
02:12:40 UTC (rev 23562)
@@ -174,7 +174,7 @@
/**
* Get the URI at which to insert this puzzle.
- * [EMAIL PROTECTED]/WoT/introduction/yyyy-MM-dd|#.xml
+ * [EMAIL PROTECTED]|WoT|introduction|yyyy-MM-dd|#.xml
*/
public FreenetURI getURI() throws MalformedURLException {
assert(mSolution != null); /* This function should only be
needed by the introduction server, not by clients. */
@@ -183,7 +183,7 @@
* which looks like the one I specified in the javadoc above
this function. Thanks. */
String dayOfInsertion = mDateFormat.format(mDateOfInsertion);
FreenetURI baseURI =
((OwnIdentity)mInserter).getInsertURI().setKeyType("SSK");
- return baseURI.setDocName(WoT.WOT_CONTEXT + "/" +
INTRODUCTION_CONTEXT + "/" + dayOfInsertion + "|" + mIndex + ".xml");
+ return baseURI.setDocName(WoT.WOT_CONTEXT + "|" +
INTRODUCTION_CONTEXT + "|" + dayOfInsertion + "|" + mIndex + ".xml");
}
public static FreenetURI generateRequestURI(Identity inserter, Date
dateOfInsertion, int index) {
@@ -194,7 +194,7 @@
* which looks like the one I specified in the javadoc above
this function. Thanks. */
String dayOfInsertion = mDateFormat.format(dateOfInsertion);
FreenetURI baseURI = inserter.getRequestURI().setKeyType("SSK");
- return baseURI.setDocName(WoT.WOT_CONTEXT + "/" +
INTRODUCTION_CONTEXT + "/" + dayOfInsertion + "|" + index + ".xml");
+ return baseURI.setDocName(WoT.WOT_CONTEXT + "|" +
INTRODUCTION_CONTEXT + "|" + dayOfInsertion + "|" + index + ".xml");
}
_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs