Closed Jeckerson closed 2 years ago
@Jeckerson Thanks for reporting, I can indeed reproduce this locally.
The same command works fine without specifying a version number.
PRs to add/fix this would be very much welcome :shipit:
As much as I'd love to work on this myself, there are currently no immediate plans to build this from my end (no demand at the moment and more important outstanding issues currently). If you need this for a commercial project and you want to help sponsor this feature, feel free to reach out and I'm happy to take a look.
@clue I have just created a PR to fix this issue and a similar one I found while using the tool to build a PHAR for composer/composer:2.0.14
, it also wrongly passed the URL check and so got misinterpreted as a repository URL.
I simply disallowed slashes to the left of colons and added previously passing examples to the relevant test case, hopefully that does it!
Example for docs doesn't work
Output