doesn't handle apt://package/ (ending slash)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apturl (Ubuntu) |
In Progress
|
Low
|
Unassigned | ||
chromium-browser (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Hi,
Firstly sorry for my english, as i'm french and student I'm definitly not a good speaker (and writer),
I'm using chrome and chromium on ubuntu and when I change my apt:// link handler from software-center to apturl via this xdg command "xdg-mime default apturl.desktop x-scheme-
"invalid url apt://gimp/
invalid package name gimp/"
I believe there is something with the ending slash which let the program crash.
I've found after some tries a temporary fix. I've modified my /usr/bin/apturl file and i've changed this line : "elif [ -x /usr/bin/apturl-gtk ]; then apturl-gtk $@" to "elif [ -x /usr/bin/apturl-gtk ]; then apturl-gtk ${@%/}" so that it removes the ending slash.
Don't know if you should use my own fix or if you should let the program accept an ending slash,
Regards,
Florian
Related branches
- Sebastien Bacher: Approve
-
Diff: 30 lines (+9/-2)2 files modifiedAptUrl/Parser.py (+2/-2)
debian/changelog (+7/-0)
description: | updated |
Changed in apturl (Ubuntu): | |
status: | New → Confirmed |
status: | Confirmed → New |
affects: | chromium (Ubuntu) → chromium-browser (Ubuntu) |
Changed in apturl (Ubuntu): | |
status: | Incomplete → In Progress |
Changed in chromium-browser (Ubuntu): | |
status: | New → Invalid |
Thank you for your bug report. Do you have an example of page showing the issue? Clicking on the url in the bug description on this launchpad page leads to software-center to open on the right component here (using Ubuntu 15.10)