librariesio / libraries.io

:books: The Open Source Discovery Service
https://libraries.io
GNU Affero General Public License v3.0
1.11k stars 202 forks source link

URL is parsed incorrecly #761

Closed No9 closed 7 years ago

No9 commented 8 years ago

Hi all Just noticed git repositories from subdomains (it may be more wide spread) are getting messed up a little on the package page

i.e. https://libraries.io/npm/apiconnect
Is - Repository: https://github.com/github.ibm.com:apiconnect/apiconnect When it should be - Repository: https://github.ibm.com/apiconnect/apiconnect

Hope this helps and please ping if you need more info.

Love as always @no9 xxx

andrew commented 7 years ago

Have stopped it mangling the url, just shows the original from package.json now and stops Libraries.io thinking it's a github.com url, thanks for reporting @No9!