@@ -47,6 +47,13 @@ The notifier component supports the following channels:
47
47
SMS Channel
48
48
~~~~~~~~~~~
49
49
50
+ .. caution ::
51
+
52
+ If any of the DSN values contains any character considered special in a
53
+ URI (such as ``+ ``, ``@ ``, ``$ ``, ``# ``, ``/ ``, ``: ``, ``* ``, ``! ``), you must
54
+ encode them. See `RFC 3986 `_ for the full list of reserved characters or use the
55
+ :phpfunction: `urlencode ` function to encode them.
56
+
50
57
The SMS channel uses :class: `Symfony\\ Component\\ Notifier\\ Texter ` classes
51
58
to send SMS messages to mobile phones. This feature requires subscribing to
52
59
a third-party service that sends SMS messages. Symfony provides integration
@@ -151,6 +158,13 @@ configure the ``texter_transports``:
151
158
Chat Channel
152
159
~~~~~~~~~~~~
153
160
161
+ .. caution ::
162
+
163
+ If any of the DSN values contains any character considered special in a
164
+ URI (such as ``+ ``, ``@ ``, ``$ ``, ``# ``, ``/ ``, ``: ``, ``* ``, ``! ``), you must
165
+ encode them. See `RFC 3986 `_ for the full list of reserved characters or use the
166
+ :phpfunction: `urlencode ` function to encode them.
167
+
154
168
The chat channel is used to send chat messages to users by using
155
169
:class: `Symfony\\ Component\\ Notifier\\ Chatter ` classes. Symfony provides
156
170
integration with these chat services:
@@ -292,6 +306,13 @@ notification emails:
292
306
Push Channel
293
307
~~~~~~~~~~~~
294
308
309
+ .. caution ::
310
+
311
+ If any of the DSN values contains any character considered special in a
312
+ URI (such as ``+ ``, ``@ ``, ``$ ``, ``# ``, ``/ ``, ``: ``, ``* ``, ``! ``), you must
313
+ encode them. See `RFC 3986 `_ for the full list of reserved characters or use the
314
+ :phpfunction: `urlencode ` function to encode them.
315
+
295
316
The push channel is used to send notifications to users by using
296
317
:class: `Symfony\\ Component\\ Notifier\\ Texter ` classes. Symfony provides
297
318
integration with these push services:
@@ -749,3 +770,5 @@ Learn more
749
770
:glob:
750
771
751
772
notifier/*
773
+
774
+ .. _`RFC 3986` : https://www.ietf.org/rfc/rfc3986.txt
0 commit comments