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: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org