rmuir commented on PR #829:
URL: https://github.com/apache/lucene/pull/829#issuecomment-1106745369
Yeah looks like the checking has to handle the separators properly. because
a lot of stuff is allowed:
```
jshell> Path p = Paths.get("/home/rmuir")
p ==> /home/rmuir
jshell> p = p.resolve("Downloads/")
p ==> /home/rmuir/Downloads
jshell> Path p = Paths.get("/home/rmuir")
p ==> /home/rmuir
jshell> p = p.resolve("workspace/lucene/")
p ==> /home/rmuir/workspace/lucene
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]