Changes

Jump to navigation Jump to search
66 bytes removed ,  19:50, 18 July 2022
m
Text replacement - "\[\[#([^]:]+:[^|]+)\|([^]:]+:[^|]+)\]\]" to "{{Function||$1}}"
|-
| '''Summary'''
|Creates a new URL from the specified <code>$url</code> string, query string <code>$parameters</code> and an optional {{Code|$anchor}} reference. The keys and values of the map entries will be converted to strings, URL-encoded (see [[#web:encode-url{{Function||web:encode-url]]}}), and appended to the URL as query parameters. If a map entry has more than a single item, all of them will be appended as single parameters.
|-
| '''Examples'''
* The client will not get notified of this forwarding.
* Supplied query parameters will be attached to parameters of the current request.
* The {{Code|$parameter}} argument is processed as described in [[#web:create-url{{Function||web:create-url]]}}.
|-
| '''Examples'''
|-
| '''Summary'''
|Creates a [[RESTXQ#Forwards and Redirects|RESTXQ redirection]] to the specified {{Code|$url}}. The returned response will only work if no other items are returned by the RESTXQ function.<br/>The {{Code|$parameters}} and {{Code|$anchor}} arguments are processed as described in (see [[#web:create-url{{Function||web:create-url]]}}).
|-
| '''Examples'''
;Version 9.3
* Added: [[#web:error{{Function||web:error]]}}, [[#web:forward{{Function||web:forward]]}}
;Version 9.2
* Updated: [[#web:create-url{{Function||web:create-url]]}}, [[#web:redirect{{Function||web:redirect]]}}: third argument added.
;Version 9.0
* Updated: [[#web:response-header{{Function||web:response-header]]}}: third argument added; default parameters removed.
* Updated: error codes updated; errors now use the module namespace
;Version 8.4
* Updated: [[#web:response-header{{Function||web:response-header]]}}: serialization method <code>raw</code> was removed (now obsolete).
;Version 8.2
* Added: [[#web:encode-url{{Function||web:encode-url]]}}, [[#web:decode-url{{Function||web:decode-url]]}}.
The module was introduced with Version 8.1.
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu