mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2026-11-02 11:37:37 +00:00
絶対パスを正常に解決できるように
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user