Allow the resolver page to be excepted from the link filter.
[WoTNS.git] / src / main / java / net / pterodactylus / wotns / ui / web / ResolverPage.java
index d26d1aa..b7f8e8e 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * WoTNS - ResolverPage.java - Copyright © 2011 David Roden
+ * WoTNS - ResolverPage.java - Copyright © 2011–2017 David Roden
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -18,6 +18,7 @@
 package net.pterodactylus.wotns.ui.web;
 
 import java.net.MalformedURLException;
+import java.net.URI;
 
 import net.pterodactylus.util.template.Template;
 import net.pterodactylus.util.template.TemplateContext;
@@ -82,4 +83,12 @@ public class ResolverPage extends BasicPage {
                templateContext.set("shortName", path);
        }
 
+       /**
+        * {@inheritDoc}
+        */
+       @Override
+       public boolean isLinkExcepted(URI link) {
+               return true;
+       }
+
 }