From baf1ae4cb688600cc93ff09916b763f0efc70f46 Mon Sep 17 00:00:00 2001 From: ztaylor54 Date: Fri, 5 Mar 2021 13:31:42 -0800 Subject: [PATCH] Fix spacing --- .../java/jpl/cws/controller/MvcService.java | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/cws-service/src/main/java/jpl/cws/controller/MvcService.java b/cws-service/src/main/java/jpl/cws/controller/MvcService.java index fd7208ed..08157b58 100644 --- a/cws-service/src/main/java/jpl/cws/controller/MvcService.java +++ b/cws-service/src/main/java/jpl/cws/controller/MvcService.java @@ -101,18 +101,18 @@ public ModelAndView logintotarget( .singleResult(); log.debug("user: " + user); - String pattern = // first part: some/relative/path - "^" // Anchor at the beginning of the string - + "(?!\\/)" // Assert the first character isn't a '/' (negative lookahead) - + "(?!.*\\/\\/)" // Assert there are no "//" present anywhere (negative lookahead) - + "[A-Za-z0-9-\\/]+" // Match one or more allowed characters - + "(?