Subject: | wikipedia login gives: "Insecure Request Forbidden - use HTTPS" |
Date: | Sat, 28 Oct 2017 16:49:14 +0200 (CEST) |
To: | bug-WWW-Mediawiki-Client [...] rt.cpan.org |
From: | Nomen Nescio <nobody [...] dizum.com> |
I'm taking these steps to attempt a wikipedia.com login:
$ cd ~/perl5/lib/perl5/
$ mvs login -u "$uid" -p "$pw" -d wikipedia.com -w wiki/Syntax_highlighting
I get:
Login to http://www.wikipedia.com/wiki/Syntax_highlighting?action=submitlogin&title=Special:Userlogin failed. See .mediawiki.errors for details.
Then I dug through the ".mediawiki.errors" file, and found this:
"Insecure Request Forbidden - use HTTPS"
There is no CLI option to specify the scheme or to enable SSL. But as
an experiment I tried to prefix it onto the hostname like this:
$ mvs login -u "$uid" -p "$pw" -d https://www.wikipedia.com -w wiki/Syntax_highlighting
Same problem. I also tried:
$ mvs login -u "$uid" -p "$pw" -d www.wikipedia.com -w wiki/Syntax_highlighting
Same problem.