@@ -51,6 +51,13 @@ The notifier component supports the following channels:
51
51
SMS Channel
52
52
~~~~~~~~~~~
53
53
54
+ .. caution ::
55
+
56
+ If any of the DSN values contains any character considered special in a
57
+ URI (such as ``+ ``, ``@ ``, ``$ ``, ``# ``, ``/ ``, ``: ``, ``* ``, ``! ``), you must
58
+ encode them. See `RFC 3986 `_ for the full list of reserved characters or use the
59
+ :phpfunction: `urlencode ` function to encode them.
60
+
54
61
The SMS channel uses :class: `Symfony\\ Component\\ Notifier\\ Texter ` classes
55
62
to send SMS messages to mobile phones. This feature requires subscribing to
56
63
a third-party service that sends SMS messages. Symfony provides integration
@@ -168,6 +175,13 @@ configure the ``texter_transports``:
168
175
Chat Channel
169
176
~~~~~~~~~~~~
170
177
178
+ .. caution ::
179
+
180
+ If any of the DSN values contains any character considered special in a
181
+ URI (such as ``+ ``, ``@ ``, ``$ ``, ``# ``, ``/ ``, ``: ``, ``* ``, ``! ``), you must
182
+ encode them. See `RFC 3986 `_ for the full list of reserved characters or use the
183
+ :phpfunction: `urlencode ` function to encode them.
184
+
171
185
The chat channel is used to send chat messages to users by using
172
186
:class: `Symfony\\ Component\\ Notifier\\ Chatter ` classes. Symfony provides
173
187
integration with these chat services:
@@ -328,6 +342,13 @@ notification emails:
328
342
Push Channel
329
343
~~~~~~~~~~~~
330
344
345
+ .. caution ::
346
+
347
+ If any of the DSN values contains any character considered special in a
348
+ URI (such as ``+ ``, ``@ ``, ``$ ``, ``# ``, ``/ ``, ``: ``, ``* ``, ``! ``), you must
349
+ encode them. See `RFC 3986 `_ for the full list of reserved characters or use the
350
+ :phpfunction: `urlencode ` function to encode them.
351
+
331
352
The push channel is used to send notifications to users by using
332
353
:class: `Symfony\\ Component\\ Notifier\\ Texter ` classes. Symfony provides
333
354
integration with these push services:
@@ -739,3 +760,5 @@ Learn more
739
760
:glob:
740
761
741
762
notifier/*
763
+
764
+ .. _`RFC 3986` : https://www.ietf.org/rfc/rfc3986.txt
0 commit comments