From caf3a0dd3419687cda83dfb5549aee647b3b60db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=8D=E3=82=80=E3=81=AD=E3=81=93?= Date: Mon, 22 Jan 2024 11:50:29 +0900 Subject: [PATCH] =?UTF-8?q?=E7=B5=B6=E5=AF=BE=E3=83=91=E3=82=B9=E3=82=92?= =?UTF-8?q?=E6=AD=A3=E5=B8=B8=E3=81=AB=E8=A7=A3=E6=B1=BA=E3=81=A7=E3=81=8D?= =?UTF-8?q?=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- model/src/main/java/one/nem/lacerta/model/PublicPath.java | 1 + 1 file changed, 1 insertion(+) diff --git a/model/src/main/java/one/nem/lacerta/model/PublicPath.java b/model/src/main/java/one/nem/lacerta/model/PublicPath.java index a5253f1d..0c8c67d2 100644 --- a/model/src/main/java/one/nem/lacerta/model/PublicPath.java +++ b/model/src/main/java/one/nem/lacerta/model/PublicPath.java @@ -29,6 +29,7 @@ public class PublicPath { private void resolveInternal(String path) { if (path.startsWith("/")) { this.path.clear(); + this.path.add("/"); } else { if (path.equals("..")) { this.path.remove(this.path.size() - 1);