faup icon indicating copy to clipboard operation
faup copied to clipboard

Backslashes not parsed as part of path

Open jdiner opened this issue 9 years ago • 0 comments

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" }

jdiner avatar Jul 15 '16 15:07 jdiner