Software AG Products 10.7 | Integrating On-Premises and Cloud Applications | DSPs and building output templates | Using Dynamic Server Pages (DSPs) | Using the DSP Tags | Specifying a List of Permitted URLs for Redirection
 
Specifying a List of Permitted URLs for Redirection
Use the %validConst% tag to specify external URLs that Integration Server will allow for redirection from the page. The following example shows how to use the %validConst% tag to specify the URL “http://example.com” as a valid URL for redirection.
Example
.
.
.
%validConst url(http://example.com)%
%endvalidConst%
.
.
.
If you want to allow more than one URL for redirection, you can specify a comma-separated list of URLs. The following example shows how to use the %validConst% tag to specify the URLs “http://example.com”, “http://example.org”, and “http://example.net” are valid for redirection.
Example
.
.
.
%validConst url(http://example.com,http://example.org,http://example.net)%
%endvalidConst%
.
.
.