Snippets tagged url

  • URL Canonicalization

    This function produces safe URLs for Web requests or URI construction. It forces the pattern: http:// + www. OR subdomain. + domain + absolute path. When used in an application that takes URLs as input, the user would be able to type "" instead of "" or "". It also supports domains like or

    8 people like this

    Posted: 6 years ago by Taha Hachana