8000 bug #45185 [Notifier] Fix encoding of messages with FreeMobileTranspo… · symfony/symfony@4565edb · GitHub
[go: up one dir, main page]

Skip to content

Commit 4565edb

Browse files
bug #45185 [Notifier] Fix encoding of messages with FreeMobileTransport (94noni)
This PR was submitted for the 5.4 branch but it was squashed and merged into the 5.3 branch instead. Discussion ---------- [Notifier] Fix encoding of messages with FreeMobileTransport | Q | A | ------------- | --- | Branch? | 5.3 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | Fix sending accents chars | License | MIT When I first [introduce this transport](#35690) I used to test it with basic text, now with some French accent I need this fix otherwise the accent chars are not sent Commits ------- 5760694 [Notifier] Fix encoding of messages with FreeMobileTransport
2 parents 26c2a85 + 5760694 commit 4565edb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Notifier/Bridge/FreeMobile/FreeMobileTransport.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ protected function doSend(MessageInterface $message): SentMessage
6060
$endpoint = sprintf('https://%s', $this->getEndpoint());
6161

6262
$response = $this->client->request('POST', $endpoint, [
63-
'json' => [
63+
'query' => [
6464
'user' => $this->login,
6565
'pass' => $this->password,
6666
'msg' => $message->getSubject(),

0 commit comments

Comments
 (0)
0