Update FreeMobileSMS.php - Fix encoding bug (#1132)
Fix the URL encoding by changing urlencode to rawurlencode, since the former uses + instead of %20 to encode an URL and is meant for form submissions. Rawurlencode is meant for creating URLs, and should fix bug #1120pull/1133/head
parent
3daa804d5f
commit
e28192278c
|
@ -58,7 +58,7 @@ class FreeMobileSMS extends Core
|
|||
array(
|
||||
"user" => $this->username,
|
||||
"pass" => $this->password,
|
||||
"msg" => urlencode($message),
|
||||
"msg" => rawurlencode($message),
|
||||
)
|
||||
));
|
||||
|
||||
|
|
Loading…
Reference in New Issue