faup
faup copied to clipboard
Backslashes not parsed as part of path
The backslash character is not parsed as part of the path. Here are examples:
$ ./faup -o json "http://github.com\contact" { "scheme": "http", "credential": "", "subdomain": "", "domain": "github.com\contact", "domain_without_tld": "github", "host": "github.com\contact", "tld": "com\contact", "port": "", "resource_path": "", "query_string": "", "fragment": "", "url_type": "unknown_tld" }
$ ./faup -o json "file://c:\program.exe" { "scheme": "file", "credential": "", "subdomain": "", "domain": "c:\program.exe", "domain_without_tld": "c:\program", "host": "c:\program.exe", "tld": "exe", "port": "", "resource_path": "", "query_string": "", "fragment": "", "url_type": "unknown_tld" }