Update FreeMobileSMS.php - Fix encoding bug
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
32fcb8b0e8
commit
b8352b2290
|
@ -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