Don't allow leading / in relative artifact location URIs. #480
Labels
2.1.0-erratum
design-approved
The TC approved the design and I can write the change draft
impact-documentation-only
ready
The rationale for requiring
artifactLocation.uri
to be a relative reference whenuriBaseId
is present is that we should be able to combineuri
with anyfile
-based URI to form an absolute path./dir/file.c
is technically a relative URI reference, but it is an absolute file path. That means you cannot combine it with a base value such asfile:///C:/dev/myProject
.The spec should prohibit leading
/
s onartifactLocation.uri
. It doesn't even matter whether or notartifactLocation.uriBaseId
is present: ifartifactLocation.uri
is not absolute, it can't start with a/
.@michaelcfanning FYI
The text was updated successfully, but these errors were encountered: