apt:package-name URLs aren't auto-linkified
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Low
|
j.c.sackett |
Bug Description
1. Click on this text: "apt:libxine1-
What should happen:
* In Ubuntu, a window appears asking you if you want to install libxine1-ffmpeg, or explaining that it is already installed.
* In other OSes, some sort of message appears explaining that "apt:" is not a known protocol.
What actually happens: Nothing, because Launchpad didn't auto-link the apt: URL.
Making Ubuntu more secure includes discouraging people from running random terminal commands they find on the Web. Many random terminal commands targeted at Ubuntu users are of the form "sudo apt-get install whatever". The "apt:" URL protocol is intended as a replacement for these commands. So it's important that people providing answers in Launchpad Answers be able to enter apt: URLs and that Launchpad present them as links.
Related branches
- Māris Fogels (community): Approve
-
Diff: 64 lines (+39/-2)2 files modifiedlib/lp/app/browser/stringformatter.py (+1/-1)
lib/lp/app/browser/tests/test_stringformatter.py (+38/-1)
Changed in launchpad-foundations: | |
status: | New → Triaged |
importance: | Undecided → Low |
tags: | added: tales |
affects: | launchpad-foundations → launchpad-web |
Changed in launchpad-web: | |
assignee: | nobody → j.c.sackett (jcsackett) |
status: | Triaged → In Progress |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
Changed in launchpad: | |
milestone: | none → 11.01 |
Hardy's firefox does include a handler for apt: urls, so all that seems to be needed is to make the links.