Commits

Michał Górny committed 4e61f97

Pass --no-check-certificate to wget to workaround bug #451506.

Having bugzie forcedly-redirect to https:// make us safe now. Especially
when we have to disable certificate checks to get it working.

Comments (0)

Files changed (1)

 				local bn cbn
 				for bn in ${bns}; do
 					cbn=#${WHITE}${bn}${NORMAL}
-					wget -q http://bugs.gentoo.org/show_bug.cgi?id=${bn} -O - | sed -n \
+					wget -q --no-check-certificate \
+						"https://bugs.gentoo.org/show_bug.cgi?id=${bn}" -O - \
+					| sed -n \
 						-e "s, *<title>\(Gentoo \)\?Bug \([0-9]*\) \(-\|&ndash;\) \(.*\)</title>,Bug ${cbn}: ${BGREEN}\4${RESET},p" \
 						-e "s, *<title>\(Gentoo \)\?\(Invalid Bug ID\)</title>,Bug ${cbn}: ${YELLOW}!! \2${RESET},p"
 				done