絶対パスを正常に解決できるように

This commit is contained in:
r-ca committed 2024-01-22 11:50:29 +09:00
1 parent c4e10b9487
commit caf3a0dd34
1 file changed
+1
@@ -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);