From 445812880b686efe35aba07c4c322b5889a3271b Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 30 Jan 2018 13:03:38 +0800 Subject: [PATCH] Mailer.php --- Mailer.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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(); -- 2.39.2