File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -150,8 +150,18 @@ <h2>
150
150
window or tab and navigate to:
151
151
</ p >
152
152
< pre >
153
- https://example.org/includinator/share.html?name=My%20News &link=http%3A%2F%2Fexample.com%2Fnews
153
+ https://example.org/includinator/share.html?name=My+News &link=http%3A%2F%2Fexample.com%2Fnews
154
154
</ pre >
155
+ < p class ="warning ">
156
+ U+0020 (SPACE) characters are encoded as "< code > +</ code > ", due to the
157
+ use of < a data-cite =
158
+ "URL#application/x-www-form-urlencoded "> < code > application/x-www-form-urlencoded</ code > </ a >
159
+ encoding, not "< code > %20</ code > " as might be expected. Processors must
160
+ take care to decode U+002B (+) characters as U+0020 (SPACE), which some
161
+ URL decoding libraries, including ECMAScript's < a data-cite =
162
+ "ECMASCRIPT#sec-decodeuricomponent-encodeduricomponent "> < code > decodeURIComponent</ code > </ a >
163
+ function, may not do automatically.
164
+ </ p >
155
165
< p >
156
166
The query parameters are populated with information from the
157
167
< a data-cite ="WebShare#dom-sharedata "> < code > ShareData</ code > </ a > being
You can’t perform that action at this time.
0 commit comments