#804401 links: Fails to parse git://

Package:
links
Source:
links2
Description:
Web browser running in text mode
Submitter:
Helge Kreutzmann
Date:
2015-11-09 23:39:06 UTC
Severity:
normal
#804401#5
Date:
2015-11-08 06:49:20 UTC
From:
To:
On http://packages.qa.debian.org/dpkg if I select
»Git« I get a 404. The link points to
https://packages.qa.debian.org/d/git://anonscm.debian.org/dpkg/dpkg.git

#804401#14
Date:
2015-11-09 23:37:45 UTC
From:
To:
Hi Helge,

thanks for the bug report.

Helge Kreutzmann wrote:

I can confirm this with 2.12-1 currently in Debian Unstable. The only
situation where this really affects users seems to be with "Copy link
location".

I've forwarded the issue to upstream, but this won't be fixed anytime
soon by upstream for the following reason (citing from Mikulas
Patocka's reply to me):

| That URL parsing code is very old, and hacking it could introduce
| more bugs. I know there are other URL parsing flaws (for example
| http:/path/file.html is not handled correctly), but they are so rare
| that I leave it that way.
|
| If there is a possibility to pass the git URL to an external program
| (for example some graphical viewer for the git repository), I could
| add that possibility (similar to mailto, telnet, tn3270, mms, magnet
| URLs), otherwise I'd leave it as it is.

Since I don't know any interactive program which takes a git:// URL as
parameter(*), I'm marking this as wontfix for now. IMHO "git clone" is
not suitable for such usage.

(*) I've tried gitk, git-cola, qgit and tig.

		Regards, Axel