fixed: When using the download() method on a wiki accessed with HTTPS, API.pm checks for relative URLs with "$url =~ /^http\:\/\//" and if not, does the concatenation - thanks to Matthieu for the fix - https://rt.cpan.org/Public/Bug/Display.html?id=78197