From: David ‘Bombe’ Roden Date: Thu, 6 Oct 2011 20:14:22 +0000 (+0200) Subject: Implement link filter exceptions in base Freenet template page. X-Git-Tag: 0.7.3^2~17^2~3 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=293a04ad63a792e971316abcfbdbd494a5253b97;p=Sone.git Implement link filter exceptions in base Freenet template page. --- diff --git a/src/main/java/net/pterodactylus/sone/web/page/FreenetTemplatePage.java b/src/main/java/net/pterodactylus/sone/web/page/FreenetTemplatePage.java index 5c027e5..e7d6e28 100644 --- a/src/main/java/net/pterodactylus/sone/web/page/FreenetTemplatePage.java +++ b/src/main/java/net/pterodactylus/sone/web/page/FreenetTemplatePage.java @@ -19,6 +19,7 @@ package net.pterodactylus.sone.web.page; import java.io.IOException; import java.io.StringWriter; +import java.net.URI; import java.util.Collection; import java.util.Collections; import java.util.List; @@ -47,7 +48,7 @@ import freenet.support.HTMLNode; * * @author David ‘Bombe’ Roden */ -public class FreenetTemplatePage implements Page, LinkEnabledCallback { +public class FreenetTemplatePage implements FreenetPage, LinkEnabledCallback { /** The logger. */ private static final Logger logger = Logging.getLogger(FreenetTemplatePage.class); @@ -252,6 +253,14 @@ public class FreenetTemplatePage implements Page, LinkEnabledCal return false; } + /** + * {@inheritDoc} + */ + @Override + public boolean isLinkExcepted(URI link) { + return false; + } + // // INTERFACE LinkEnabledCallback //