agallou / mageia-app-db

GNU Affero General Public License v3.0
6 stars 3 forks source link

Internal server error when the package URL does not start with a scheme (eg http://) #267

Closed stormi closed 6 years ago

stormi commented 8 years ago

The sysdig package in the database has an URL that is www.sysdig.org instead of http(s)://www.sysdig.org.

The package/show page errors out when it tries to build the link to it because it thinks it's an internal route.

Solution : add scheme when none is provided. (+ fix the package but that's another story)