Subject: | allow https |
Hi.
Could you adjust Net::MovableType in consideration of mt-xmlrpc.cgi's in
HTTPS?
- if ( $url =~ m/^http:\/\/.+\.xml$/ ) {
+ if ( $url =~ m/^https?:\/\/.+\.xml$/ ) {
and, Your public MT is something wrong.
Can't call method "serializer" on an undefined value at
/home/sherzodr/public_html/mt/lib/MT/XMLRPCServer.pm line 21.
Thnaks
Tomi
Subject: | Net-MovableType-1.74.patch |
--- MovableType.pm 2004-08-14 17:31:32.000000000 +0900
+++ MovableType.pm.patched 2006-11-11 23:33:21.000000000 +0900
@@ -28,12 +28,12 @@
# if $url starts with 'http://' and ends in '.xml', we assume it was a
# location of rsd.xml file
- if ( $url =~ m/^http:\/\/.+\.xml$/ ) {
+ if ( $url =~ m/^https?:\/\/.+\.xml$/ ) {
$self->rsd_url($url) or return undef;
# if the URL just starts with 'http://', we assume it was a url for
# MT's XML-RPC server
- } elsif ( $url =~ m/^http:\/\// ) {
+ } elsif ( $url =~ m/^https?:\/\// ) {
$self->{proxy} = XMLRPC::Lite->proxy($url);
# in neither case, we assume it was a file system location of rsd.xml file