mirror of
https://github.com/octoleo/plantuml-server.git
synced 2024-12-22 08:48:54 +00:00
Improve tests
This commit is contained in:
parent
4d65def8bb
commit
0154160c7d
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user