Allow links to images, Sones, and posts.
[Sone.git] / src / main / java / net / pterodactylus / sone / web / ImageBrowserPage.java
index ed31283..3afaae6 100644 (file)
@@ -17,6 +17,8 @@
 
 package net.pterodactylus.sone.web;
 
+import java.net.URI;
+
 import net.pterodactylus.sone.data.Album;
 import net.pterodactylus.sone.data.Image;
 import net.pterodactylus.sone.data.Sone;
@@ -76,4 +78,12 @@ public class ImageBrowserPage extends SoneTemplatePage {
                templateContext.set("sone", sone);
        }
 
+       /**
+        * {@inheritDoc}
+        */
+       @Override
+       public boolean isLinkExcepted(URI link) {
+               return true;
+       }
+
 }