mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2025-01-18 18:33:16 +00:00
絶対パスを正常に解決できるように
This commit is contained in:
parent
c4e10b9487
commit
caf3a0dd34
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user