# sanitize\_url

Source: https://zotonic.com/docs/2253/sanitize_url

URI: https://zotonic.com/id/2253

Language: en



Sanitize an URL. Removes URLs that might be dangerous, like `javascript:` URLs.

Ensure that the input to this filter is HTML unescaped. As the filter is not unescaping any HTML entities.

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/2253?language=en


## API access

- [API help](<https://zotonic.com/api-help>)
- [OpenAPI specification](<https://zotonic.com/openapi.json>)
- [This resource as JSON](<https://zotonic.com/api/agent/resource/2253?language=en>)
