-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Notifier] Use the UTF-8 encoding in smsapi-notifier #45174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Hey! Oh no, it looks like you have made this PR towards a branch that is not maintained anymore. :/ Cheers! Carsonbot |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a changeling entry, thanks
@OskarStark we don't add changelog entries manually for bugfixes in patch releases |
e865b0f
to
7ad382d
Compare
@stof @OskarStark so I've reverted it |
@stof sorry you are right |
Thank you @marphi. |
…ssage with the highest priority (marphi) This PR was squashed before being merged into the 6.1 branch. Discussion ---------- [Notifier] smsapi-notifier `fast` option to sending message with the highest priority | Q | A | ------------- | --- | Branch? | 6.1 | Bug fix? | no | New feature? | yes | Deprecations? | no | Tickets | --- | License | MIT | Doc PR | --- I have used custom solution to send sms via smsapi for many years. Time to rewrite it to notifier component. Found 2 issues from my point of view: 1. THIS part is splitted into separate PR #45174. ~~Encoding. Currently `smsapi-notifier` does not specify `encoding` in payload request to provider api which generates such errors.  (sms message with invalid encoding) api.smsapi.pl use `windows-1250` as a default value. I propose to set explicitly `utf-8`. After changes:~~  2. I'm using smsapi to sending auth codes to my clients. In this case is really important to send SMS as fast as possible, `fast` options allow me to do this otherwise messages might have some delays. Commits ------- cd266a0 [Notifier] smsapi-notifier `fast` option to sending message with the highest priority
THIS PR is splitted version of PR #45139 (see discussion)
Currently smsapi-notifier does not specify encoding in payload request to provider api which generates such errors.


(sms message with invalid encoding)
api.smsapi.pl use windows-1250 as a default value. I propose to set explicitly
utf-8
.After changes: