From 492c27d94111955bfefe07df998fd76887241fe8 Mon Sep 17 00:00:00 2001 From: Calin Rada Date: Mon, 18 Aug 2014 12:40:31 +0200 Subject: [PATCH] Remove urlencode from getMessage Removed urlencode from getMessage for DC 0 and 1 because we receive messages like Your+name+is+Smith --- src/SmsSender/Provider/CardboardfishProvider.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SmsSender/Provider/CardboardfishProvider.php b/src/SmsSender/Provider/CardboardfishProvider.php index ee35350..96d4d56 100644 --- a/src/SmsSender/Provider/CardboardfishProvider.php +++ b/src/SmsSender/Provider/CardboardfishProvider.php @@ -401,11 +401,11 @@ protected function checkForStatusResult($result) protected function getMessage($message, $data_coding_scheme = null) { if (null === $data_coding_scheme || 1 === $data_coding_scheme) { - return urlencode(self::GSMEncode($message)); + return self::GSMEncode($message); } if (0 === $data_coding_scheme) { - return urlencode(self::GSMEncode($message)); + return self::GSMEncode($message); } return urlencode($message);