create virtual web folder /currentyacypeer/ which always points to local

peer, even when using the urlproxy

Conflicts:
	source/de/anomic/http/server/HTTPDProxyHandler.java
pull/1/head
cominch 13 years ago committed by Michael Peter Christen
parent bde07ed7a8
commit 8e80894812

@ -279,6 +279,10 @@ public final class HTTPDFileHandler {
return; return;
} }
// allow proper access to current peer via virtual directory
if (path.startsWith("/currentyacypeer/")) {
path = path.substring(16);
}
// cache settings // cache settings
boolean nocache = path.contains("?") || body != null; boolean nocache = path.contains("?") || body != null;

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save