mirror of
https://github.com/jetty/jetty.project.git
synced 2025-03-03 12:29:31 +00:00
* Support root base or home for quickstart #2446 Signed-off-by: Greg Wilkins <gregw@webtide.com> * Issue #2446 - Root as base for quickstart + Adding more tests for differences we have to resolve with windows vs linux root path differences. and URI's that have an authority vs those without an authority. without authority examples: file:/code/ file:/C:/code/ with authority examples: file:///code/ file:///C:/code/ Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com> * Using the canonical URI passes all the tests on linux, but I still have some concerns with the whole approach Signed-off-by: Greg Wilkins <gregw@webtide.com> * minor cleanups Signed-off-by: Greg Wilkins <gregw@webtide.com> * Handle windows URIs Because a windows like `file:///F:/` has a path of `/F:/`, then it is OK to strip the trailing `/`, so the expected normalized value can be `file:///F:`. Signed-off-by: Greg Wilkins <gregw@webtide.com>