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

Bug #179868 reported by Matthew Paul Thomas on 2008-01-02
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Launchpad itself

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

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.

Vadim Peretokin (vperetokin) wrote :

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

Curtis Hovey (sinzui) on 2009-11-06
Changed in launchpad-foundations:
status: New → Triaged
importance: Undecided → Low
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/

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) on 2010-11-13
tags: added: tales
Curtis Hovey (sinzui) on 2010-11-15
affects: launchpad-foundations → launchpad-web
j.c.sackett (jcsackett) on 2010-12-14
Changed in launchpad-web:
assignee: nobody → j.c.sackett (jcsackett)
status: Triaged → In Progress
tags: added: qa-needstesting
Changed in launchpad-web:
status: In Progress → Fix Committed
j.c.sackett (jcsackett) on 2010-12-15
tags: added: qa-ok
removed: qa-needstesting
Curtis Hovey (sinzui) on 2010-12-23
Changed in launchpad:
status: Fix Committed → Fix Released
Curtis Hovey (sinzui) on 2011-01-11
Changed in launchpad:
milestone: none → 11.01
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Bug attachments