Is this a valid URL? (from a standard point of view)
http://test.com/some/path/version/1.2/thing
Adding the dot to the end of the domain name makes it an absolute fully-qualified domain name instead of just a regular fully-qualified domain name, and most browsers treat absolute domain names as being a different domain from the equivalent regular domain name (I'm not sure why they do this though).
Yes A url with many dots is valid. However a domain name with multiple consecutive dots is not valid since the length of each label has to be more than 0. To be conversant with URL semantics, you would need to read: Which characters make a URL invalid?
A dot ( . ) can be part of a file or directory name including the first and last position. On UNIX a single dot in a path refers to the current directory and can thus always be resolved to a directory whose name is not . .
The path refers to the exact location of a page, post, file, or other asset. It is often analogous to the underlying file structure of the website. The path resides after the hostname and is separated by “/” (forward slash). The path/file also consists of any asset file extension, such as images (.
Yes. This is common for versioning web service interfaces. See spec: http://www.w3.org/Addressing/URL/url-spec.txt
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With