diff --git a/src/main/java/net/sourceforge/plantuml/servlet/ProxyServlet.java b/src/main/java/net/sourceforge/plantuml/servlet/ProxyServlet.java index 151e35b..0a7e026 100644 --- a/src/main/java/net/sourceforge/plantuml/servlet/ProxyServlet.java +++ b/src/main/java/net/sourceforge/plantuml/servlet/ProxyServlet.java @@ -64,6 +64,9 @@ public class ProxyServlet extends HttpServlet { } public static boolean forbiddenURL(String full) { + if (full == null) { + return true; + } if (full.startsWith("https://") == false && full.startsWith("http://") == false) { return true; }