@@ -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
@@ -142,6 +149,13 @@ configure the ``texter_transports``:
142
149
Chat Channel
143
150
~~~~~~~~~~~~
144
151
152
+ .. caution ::
153
+
154
+ If any of the DSN values contains any character considered special in a
155
+ URI (such as ``+ ``, ``@ ``, ``$ ``, ``# ``, ``/ ``, ``: ``, ``* ``, ``! ``), you must
156
+ encode them. See `RFC 3986 `_ for the full list of reserved characters or use the
157
+ :phpfunction: `urlencode ` function to encode them.
158
+
145
159
The chat channel is used to send chat messages to users by using
146
160
:class: `Symfony\\ Component\\ Notifier\\ Chatter ` classes. Symfony provides
147
161
integration with these chat services:
@@ -283,6 +297,13 @@ notification emails:
283
297
Push Channel
284
298
~~~~~~~~~~~~
285
299
300
+ .. caution ::
301
+
302
+ If any of the DSN values contains any character considered special in a
303
+ URI (such as ``+ ``, ``@ ``, ``$ ``, ``# ``, ``/ ``, ``: ``, ``* ``, ``! ``), you must
304
+ encode them. See `RFC 3986 `_ for the full list of reserved characters or use the
305
+ :phpfunction: `urlencode ` function to encode them.
306
+
286
307
The push channel is used to send notifications to users by using
287
308
:class: `Symfony\\ Component\\ Notifier\\ Texter ` classes. Symfony provides
288
309
integration with these push services:
@@ -685,3 +706,5 @@ Learn more
685
706
:glob:
686
707
687
708
notifier/*
709
+
710
+ .. _`RFC 3986` : https://www.ietf.org/rfc/rfc3986.txt
0 commit comments