diff --git a/bubble-server/src/main/java/bubble/service/account/MitmControlService.java b/bubble-server/src/main/java/bubble/service/account/MitmControlService.java index d3596aeb..0e09196e 100644 --- a/bubble-server/src/main/java/bubble/service/account/MitmControlService.java +++ b/bubble-server/src/main/java/bubble/service/account/MitmControlService.java @@ -84,7 +84,7 @@ public class MitmControlService { } } - public String getCurrentValue() throws IOException { return FileUtil.toString(MITM_CONTROL_FILE); } - public String getRootValue() throws IOException { return FileUtil.toString(MITM_ROOT_CONTROL_FILE); } + public String getCurrentValue() throws IOException { return FileUtil.toString(MITM_CONTROL_FILE).trim(); } + public String getRootValue() throws IOException { return FileUtil.toString(MITM_ROOT_CONTROL_FILE).trim(); } }