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 #1120
This commit is contained in:
parent
3daa804d5f
commit
e28192278c
|
@ -58,7 +58,7 @@ class FreeMobileSMS extends Core
|
||||||
array(
|
array(
|
||||||
"user" => $this->username,
|
"user" => $this->username,
|
||||||
"pass" => $this->password,
|
"pass" => $this->password,
|
||||||
"msg" => urlencode($message),
|
"msg" => rawurlencode($message),
|
||||||
)
|
)
|
||||||
));
|
));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue