Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 588478 - dev-python/libzilla-1.1: Default scheme to https when not given
Summary: dev-python/libzilla-1.1: Default scheme to https when not given
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrice Clement
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-09 23:31 UTC by nvinson234
Modified: 2016-07-12 19:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nvinson234 2016-07-09 23:31:08 UTC
This is a feature request.

When a website / ip address is given without a scheme (e.g. http://website), but no scheme is specified, libzilla fails because no scheme was given.  The help text says "all communications are carried out using the bugzilla REST API and HTTPS scheme".

Therefore, defaulting to https when no scheme is given seems like a sane default.
Comment 1 Patrice Clement gentoo-dev 2016-07-10 20:59:59 UTC
Thanks for the bug report! Yes, there's definitely something up with the way schemes are handled.
Comment 2 Patrice Clement gentoo-dev 2016-07-12 19:18:29 UTC
commit 7210e3eb4c81a046ebad4ee3f0cdb03d2c4bb597 (HEAD -> master, origin/master)
Author:     Patrice Clement <monsieurp@gentoo.org>
AuthorDate: Mon Jul 11 16:08:37 2016 +0200
Commit:     Patrice Clement <monsieurp@gentoo.org>
CommitDate: Mon Jul 11 16:08:37 2016 +0200

Rework scheme resolution.

Gentoo-Bug: https://bugs.gentoo.org/588478

libzilla/validator.py | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

Please give it a try!