Fix double // when redirecting to a package from the search box

Description

If a user searches from the main search bar and only one package is returned we currently redirect the user to the package's show view, but the url has an extra / in it.

The current url (if searching for box-ngrok) would be: //view/box-ngrok.
It should be /view/box-ngrok.

Gliffy Diagrams

Activity

Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Original estimate

Time tracking

No time logged0.08h remaining

Priority

Sentry

Created July 14, 2017 at 5:58 PM
Updated September 18, 2018 at 5:19 AM
Resolved July 15, 2017 at 7:37 PM