Changing SUBMITURLS is not enough to fix this bug.

popcon-upload script contains bad regexp at line 38

my ($host) = $submiturl =~ m%http://([^/]+)%;

This regexp matches only to HTTP, but not HTTPS schema. Upload finishes
successfully if I change regexp to

my ($host) = $submiturl =~ m%https?://([^/]+)%;

The issue also exists in upstream version 1.69

https://salsa.debian.org/popularity-contest-team/popularity-
contest/blob/160a59f1090b4913180d789c4236d6d3ddb44af6/popcon-upload#L38

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1822672

Title:
  popularity-contest is broken due to a bad merge with debian

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/popularity-contest/+bug/1822672/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to