Modification of encoded or escaped URLs

WebSEAL modifies and rewrites the URL references in outgoing responses to ensure that subsequent requests are sent through WebSEAL.

WebSEAL rewrites each URL in its original form with the URI encoding or slash escaping. If WebSEAL encounters special character encoding, it replaces the HTML code with the special character the code represents. The following table describes the URI encoding types that WebSEAL filters during this process.

Encoding type Example of encoded URL
Ampersand encoded HTTP://host:port/path?V1=D1&V2=D2
Ampersand - hex encoded HTTP://host:port/
Ampersand - dec encoded HTTP:99host:port9
Backslash encoded HTTP:\/\/host:port\/
Percent hex encoded HTTP%3A%2F%2Fhost%3Aport%2F

Example: Filtering of URLs

The HTML before the WebSEAL filtering process:

HTML after the WebSEAL filtering process with the configuration item [script-filtering] rewrite-absolute-with-absolute set to no:

HTML after the WebSEAL filtering process with the configuration item [script-filtering] rewrite-absolute-with-absolute set to yes:

Parent topic: Filtering of tag-based static URLs