mirror of
https://github.com/octoleo/plantuml-server.git
synced 2025-04-11 02:51:51 +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…
x
Reference in New Issue
Block a user