> ## Documentation Index
> Fetch the complete documentation index at: https://chainpatrol.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# URL

> Represents a domain or subdomain to be reported

**URLs** are the most common type of asset. It is a string that is used to identify a resource on the Internet.

When you submit a report, if you select asset type as `URL`, the url string will be normalized and its domain will be submitted to **Chainpatrol**.

<Warning>
  For sites that host user-generated content (like \*.wordpress.com), use the `PAGE` asset type instead of `URL` to avoid blocking the entire hosting platform. The `URL` asset type should be used when the entire domain or subdomain is malicious. Examples include blogs, forums, social media platforms (ex. Twitter) or link shortening services (ex. Bitly), where blocking the domain would block all user-generated content. In these cases, you should report using the [PAGE](./page) asset type.
</Warning>

## Normalization

Normalization is the process of removing all unnecessary characters from the URL string. It is done to make the URL string more readable and to remove any ambiguity.

ChainPatrol performs the following normalization steps:

* Remove the scheme (http, https, ftp, etc.)
* Convert the domain to lowercase
* Convert unicode characters to [punycode](https://en.wikipedia.org/wiki/Punycode)
* Remove username, password, port, query, fragment
* Remove trailing slash

#### Report

```
BLOCK https://www.chainpatrol.xyz/home
```

#### Result

When a domain is blocked, all subdomains of that domain are also blocked:

```
BLOCK chainpatrol.xyz
BLOCK *.chainpatrol.xyz
BLOCK *.*.chainpatrol.xyz
...
```
