RFR: Fix 2 failing tests due to URI syntax errors

Jorn Vernee via github.com duke at openjdk.java.net
Thu Aug 22 13:01:59 UTC 2019


There were 2 tests failing due to incorrect URI syntax resulting from directly using a path string as URI, which on Windows will contain incorrect path separators.

This PR forces the path separators to be unix ones, and inserts an explicit leading slash before the local path starts (both are needed according to the URI spec).

----------------

Commits:
 - 3ea02c85:	Force unix line endings when creating URI, and use three slashes which is needed if no hostname is in the URI

Pull request:
https://git.openjdk.java.net/skara/pull/69

Webrev:
https://webrevs.openjdk.java.net/skara/69/webrev.00

Patch:
https://git.openjdk.java.net/skara/pull/69.diff

Fetch command:
git fetch https://git.openjdk.java.net/skara pull/69/head:pull/69


More information about the skara-dev mailing list