#4369 pkgdb2 redirects to HTTP URL
Closed: Fixed Opened by till.

= bug description =

If I access an URL like
https://admin.fedoraproject.org/pkgdb/acl/libHX/unwatch/
I get redirected to
http://admin.fedoraproject.org/pkgdb/package/libHX/


Fixing #4368 should fix this as well but I'm not sure of the cause of this, so we may want to double-check it

I'm going to close it for now.

@ Till, if you see this again, could you re-open please?

I just saw this on staging: Requesting https://admin.stg.fedoraproject.org/pkgdb/package/libHX/orphan/False redirected to a HTTP URL and then I was redirected to a HTTPS URL again. You might need to look with a Firefox extension like HttpFox to notice this.

Ok Patrick and I managed to fix stg but I feel there is something not behaving as it should in flask, I'll see to open a bug report.

Reported upstream https://github.com/mitsuhiko/flask/issues/1065

Fixed in https://github.com/fedora-infra/pkgdb2/commit/fb4350d1512c24021e97bf9d935be8322dc498b0

Fixed in 1.8, currently in prod

Metadata