Author: toad
Date: 2008-04-16 20:02:10 +0000 (Wed, 16 Apr 2008)
New Revision: 19380
Modified:
trunk/freenet/src/freenet/client/async/SingleFileFetcher.java
Log:
Revert r19364, the old code is better in this case.
Modified: trunk/freenet/src/freenet/client/async/SingleFileFetcher.java
===================================================================
--- trunk/freenet/src/freenet/client/async/SingleFileFetcher.java
2008-04-16 18:37:39 UTC (rev 19379)
+++ trunk/freenet/src/freenet/client/async/SingleFileFetcher.java
2008-04-16 20:02:10 UTC (rev 19380)
@@ -488,7 +488,7 @@
// It would be useful
to be able to fetch the data ...
// On the other hand
such inserts could cause unpredictable results?
// Would be useful to
make a redirect to the key we actually fetched.
- rcb.onFailure(new
FetchException(FetchException.INVALID_METADATA, "Invalid metadata: too many
path components in redirects", uri.dropLastMetaStrings(1)), this);
+ rcb.onFailure(new
FetchException(FetchException.INVALID_METADATA, "Invalid metadata: too many
path components in redirects", thisKey), this);
} else {
//
TOO_MANY_PATH_COMPONENTS
// report to user