apt:package-name URLs aren't auto-linkified

Bug #179868 reported by Matthew Paul Thomas
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released

Bug Description

1. Click on this text: "apt:libxine1-ffmpeg"

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

Revision history for this message
Martin Pool (mbp) wrote :

Hardy's firefox does include a handler for apt: urls, so all that seems to be needed is to make the links.

Revision history for this message
Vadim Peretokin (vperetokin) wrote :

Can this please be looked at please? (launchpad should linkify apt:// and apt: links)

Curtis Hovey (sinzui)
Changed in launchpad-foundations:
status: New → Triaged
importance: Undecided → Low
Revision history for this message
Simon Bohlin (simon-bohlin) wrote :

Which parts of Launchpad should handle apt: and apt:// actually?

Probably at least answers (when helping someone to install an application!).

Source for answers starts at: http://bazaar.launchpad.net/~launchpad-pqm/launchpad/db-devel/files/head:/lib/lp/answers/

Revision history for this message
Matthew Paul Thomas (mpt) wrote :

The main part of Launchpad that needs changing is referred to in templates as "fmt:text-to-html".

Curtis Hovey (sinzui)
tags: added: tales
Curtis Hovey (sinzui)
affects: launchpad-foundations → launchpad-web
j.c.sackett (jcsackett)
Changed in launchpad-web:
assignee: nobody → j.c.sackett (jcsackett)
status: Triaged → In Progress
Revision history for this message
Launchpad QA Bot (lpqabot) wrote : Bug fixed by a commit
tags: added: qa-needstesting
Changed in launchpad-web:
status: In Progress → Fix Committed
j.c.sackett (jcsackett)
tags: added: qa-ok
removed: qa-needstesting
Curtis Hovey (sinzui)
Changed in launchpad:
status: Fix Committed → Fix Released
Curtis Hovey (sinzui)
Changed in launchpad:
milestone: none → 11.01
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.