Providing no package name runs Software Centre

Bug #781626 reported by Andrew Glen-Young
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
AptUrlRedirector
Fix Released
Undecided
Marco Ceppi

Bug Description

If I visit my site running apturlredirector and I do not provide a package name, Software Centre is launched (briefly) and then closed again.

Steps to reproduce:
- browse to http://apturlredirector.local/p
- see Software Centre is launched

What happens:
- Software Centre is launched and then closed again.

What I expect to happen:
- Software Centre should not be launched.

More details:
- Client OS: Natty
- Client Browser(s): Firefox 4, Chromium and Chrome

I have attached a patch to prevent SC from being launched and instead redirects to the front page of the site.

I have tested to confirm that the following URLs redirect as expected with the included patch applied:
- http://apturlredirector.local/p
- http://apturlredirector.local/p/
- http://apturlredirector.local/p/,
- http://apturlredirector.local/p/,,,,

Note: http://apt.marcoceppi.com/tests/stefano.php returned no data.

Related branches

Revision history for this message
Andrew Glen-Young (aglenyoung) wrote :
Revision history for this message
Marco Ceppi (marcoceppi) wrote :

I've added your patch and begun corner testing to ensure there are no other mis-interpreted routes

Changed in apturlredirector:
status: New → Confirmed
milestone: none → 1.2
assignee: nobody → Marco Ceppi (marco-ceppi)
status: Confirmed → Fix Committed
Marco Ceppi (marcoceppi)
Changed in apturlredirector:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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