src/services/DotSegments.java
BeforeProposed
+1−1
88 if (input.startsWith("../")) input=input.substring(3);
99 else if (input.startsWith("./")) input=input.substring(2);
1010 else if (input.startsWith("/./")) input=input.substring(2);
11 else if (input.equals("/.")) input="";
11 else if (input.equals("/.")) input="/";
1212 else if (input.startsWith("/../")) {input=input.substring(3);output=RemoveLast.remove(output);}
1313 else if (input.equals("/..")) {input="/";output=RemoveLast.remove(output);}
1414 else if (input.equals(".") || input.equals("..")) input="";