Skip to content

Commit

Permalink
fix: do not replace file: prefix for uris
Browse files Browse the repository at this point in the history
  • Loading branch information
bogovicj committed Apr 30, 2024
1 parent fcf69dc commit 67dbb66
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -964,7 +964,7 @@ public Object stringToValue(String input) throws ParseException {
public String valueToString(Object arg) throws ParseException {

if( arg instanceof URI )
return ((URI)arg).toString().replaceFirst("^file://", "");
return ((URI)arg).toString();
else
throw new ParseException("input " + arg + " not a valid URI", 0);
}
Expand Down

0 comments on commit 67dbb66

Please sign in to comment.