Appendix 5. URL normalization

Kaspersky Web Traffic Security supports the import of URLs consisting of four components in the following format:

<protocol>://<domain>:<port>/<path>

The domain must be specified. The remaining components of the URL may be omitted.

Example:

https://example.com:8080/path

Here: https – protocol, example.com – domain, 8080 – port, path – path.

If an error occurred during URL normalization and the address was not accepted by the application, the following steps are recommended.

  1. Identify the URL component that caused the problem. To do so, add address components successively according to the following algorithm:
    1. <domain>.
    2. <protocol>://<domain>.
    3. <protocol>://<domain>:<port>.
    4. <protocol>://<domain>:<port>/<path>.
  2. Check whether the value of the URL component that caused the problem meets the requirements listed in the table below.

    Requirements for the URL for successful normalization

    URL component

    Requirements

    Protocol

    • It must begin with a letter of the Latin alphabet (ASCII A–Z, a–z).
    • It can contain letters of the Latin alphabet (ASCII A–Z, a–z), numerals from 0 to 9, as well as plus, minus symbols and a dot.

    Domain

    • IPv4 and IPv6 addresses (in square brackets) as well as the fully qualified domain name (FQDN) can be specified.
    • The following symbols can be used:

    . _ ~ ! $ & ' ( ) * + , =

    Port

    A numerical value in the range from 1 to 65535 can be used.

    Path

    • One or several segments separated with the / symbol can be used.
    • Each segment can use Latin letters (ASCII a-z), numerals (0-9), symbols in UTF encoding, %-encoded symbols, as well as the following symbols:

    - . _ ~ : @ ! $ & ' ( ) * , =

  3. If the specified URL contains a semicolon, enter it without a path. You can specify the path later in the list of added URLs.
Page top