]> git.mxchange.org Git - friendica-addons.git/commitdiff
xmlify the login credentials - just in case
authorfriendica <info@friendica.com>
Thu, 1 Mar 2012 23:48:58 +0000 (15:48 -0800)
committerfriendica <info@friendica.com>
Thu, 1 Mar 2012 23:48:58 +0000 (15:48 -0800)
wppost.tgz
wppost/wppost.php

index 50e9234c628c5420149913152f874806d1fbb167..12f96d3b0c569d433447d2fb11310e8ef953834f 100755 (executable)
Binary files a/wppost.tgz and b/wppost.tgz differ
index f07861667b7ac504a129b6a5a964d591297404a7..264a342c0c0733c5934b218bb0f9646984e3257b 100755 (executable)
@@ -161,8 +161,8 @@ function wppost_send(&$a,&$b) {
         return;
 
 
-       $wp_username = get_pconfig($b['uid'],'wppost','wp_username');
-       $wp_password = get_pconfig($b['uid'],'wppost','wp_password');
+       $wp_username = xmlify(get_pconfig($b['uid'],'wppost','wp_username'));
+       $wp_password = xmlify(get_pconfig($b['uid'],'wppost','wp_password'));
        $wp_blog = get_pconfig($b['uid'],'wppost','wp_blog');
 
        if($wp_username && $wp_password && $wp_blog) {