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,