da_uri.cr

da_uri.cr

A Crystal shard to clean up URIs.

You don't want to use this shard because it's too specific for my needs. it's very strict and only allows http, https, ftp, sftp. no mailto or other schemes. so it's basically useless for most people unless they share my views on paranoid security.

However, if you know of another uri/url/HTML sanitization shard please let me know in the "issues" section so i can tell others about it.

Usage

  require "da_uri"

  DA_URI.clean("http://my.uri")

Specs

Specs for this shard was inspired by:

TODO:

Repository

da_uri.cr

Owner
Statistic
  • 0
  • 0
  • 0
  • 1
  • 2
  • over 6 years ago
  • September 23, 2017
License

Links
Synced at

Sat, 11 May 2024 01:35:14 GMT

Languages