From 09f7cebedbb5a7703d37e7a36c48eeb21a70c98d Mon Sep 17 00:00:00 2001 From: Unknown Date: Sun, 15 Oct 2017 00:04:33 +0200 Subject: [PATCH] http-service: Fix capturing the whole of dot-delimited keys --- .../java/net/runelite/http/service/config/ConfigService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/http-service/src/main/java/net/runelite/http/service/config/ConfigService.java b/http-service/src/main/java/net/runelite/http/service/config/ConfigService.java index 55bca790e1..3f787978c2 100644 --- a/http-service/src/main/java/net/runelite/http/service/config/ConfigService.java +++ b/http-service/src/main/java/net/runelite/http/service/config/ConfigService.java @@ -109,7 +109,7 @@ public class ConfigService return new Configuration(config); } - @RequestMapping(path = "/{key}", method = PUT) + @RequestMapping(path = "/{key:.+}", method = PUT) public void setKey( HttpServletRequest request, HttpServletResponse response, @@ -134,7 +134,7 @@ public class ConfigService } } - @RequestMapping(path = "/{key}", method = DELETE) + @RequestMapping(path = "/{key:.+}", method = DELETE) public void unsetKey( HttpServletRequest request, HttpServletResponse response,