object share
crashes when given a URL without a path component following the namespace prefix
#1697
Labels
bug
Something isn't working
Pelican Version:
Pelican Service:
Describe the bug
object share
crashes when given a URL without a path component following the namespace prefix.For example (note the lack of a trailing
/
on the URL):To Reproduce
~/.config/pelican/
.pelican object share osdf://ospool/ap40/data
.Expected behavior
A descriptive error message instead of a stack trace. Alternatively, assume a trailing
/
.Desktop (please complete the following information):
Additional context
The lack of a trailing slash looks less obviously wrong when the namespace prefix itself contains no slashes, as in
osdf://nsdf
.The text was updated successfully, but these errors were encountered: