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:
scheibling 2021-06-23 22:47:27 +02:00 committed by GitHub
parent 3daa804d5f
commit e28192278c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ class FreeMobileSMS extends Core
array(
"user" => $this->username,
"pass" => $this->password,
"msg" => urlencode($message),
"msg" => rawurlencode($message),
)
));