You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 7, 2019. It is now read-only.
In Alien::Base::ModuleBuild::Repository::HTTP::build_uri, if the passed $path (which corresponds to the alien_repositorylocation parameter) does not end in a / its last component is removed by URI->new_abs. For example, if the arguments to build_uri are
DB<5> p $uri
https://github.com/ericmandel/xpa/v2.1.17.zip
which (to me at least) is surprising. I can't think of a context in which the caller isn't expecting the full path to be used, so I'd like to suggest ensuring that the path always ends in a /. If not, a documentation update would be appreciated.
Thanks,
Diab
The text was updated successfully, but these errors were encountered:
In
Alien::Base::ModuleBuild::Repository::HTTP::build_uri
, if the passed$path
(which corresponds to thealien_repository
location
parameter) does not end in a/
its last component is removed byURI->new_abs
. For example, if the arguments tobuild_uri
areone gets this
However, if the arguments are
one gets this
which (to me at least) is surprising. I can't think of a context in which the caller isn't expecting the full path to be used, so I'd like to suggest ensuring that the path always ends in a
/
. If not, a documentation update would be appreciated.Thanks,
Diab
The text was updated successfully, but these errors were encountered: