From: Alan Knowles Date: Tue, 30 Jan 2018 05:03:38 +0000 (+0800) Subject: Mailer.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=445812880b686efe35aba07c4c322b5889a3271b Mailer.php --- diff --git a/Mailer.php b/Mailer.php index 31b37a57..9dca76de 100644 --- a/Mailer.php +++ b/Mailer.php @@ -516,7 +516,9 @@ class Pman_Core_Mailer { } require_once 'HTTP/Request.php'; - $a = new HTTP_Request($this->mapurl($url)); + + $real_url = str_replace(' ', '%20', $this->mapurl($url)); + $a = new HTTP_Request($real_url); $a->sendRequest(); $data = $a->getResponseBody();