When running zpm "load <path>", the code checks for whether <path> starts with http (a git repo) or not (local dir or tarball).
While this is sufficient in almost all cases, a user might inadvertently parse in a relative path starting with http (w.r.t. <IRISROOT>/mgr/). A safer way is to check for prefix http:// and prefix https://.
When running
zpm "load <path>"
, the code checks for whether<path>
starts with http (a git repo) or not (local dir or tarball).While this is sufficient in almost all cases, a user might inadvertently parse in a relative path starting with http (w.r.t.
<IRISROOT>/mgr/
). A safer way is to check for prefixhttp://
and prefixhttps://
.