summaryrefslogtreecommitdiffstats
path: root/cnp-specification.cnm
diff options
context:
space:
mode:
Diffstat (limited to 'cnp-specification.cnm')
-rw-r--r--cnp-specification.cnm2
1 files changed, 1 insertions, 1 deletions
diff --git a/cnp-specification.cnm b/cnp-specification.cnm
index 066c277..18124f3 100644
--- a/cnp-specification.cnm
+++ b/cnp-specification.cnm
@@ -80,7 +80,7 @@ content
The hostname may be a domain name or an IP address, optionally with a port number, and it may not contain any slash (``0x2f``) bytes. In general, it should be the address that the client sends the request to. The format of the hostname is the same as in URLs.
- The path is a Unix-style absolute filepath with an optional trailing slash. It may (and probably should) be cleaned up by CNP implementations before being processed by collapsing multiple consecutive slashes into single ones, removing path entries that consist of a single dot and resolving double-dot parent directories, while leaving a trailing slash if one was present (for example, the path ``/../../.\/\/\/foo/bar/..`` becomes ``/foo`` and ``\/\/foo/bar/../`` becomes ``/foo/``). If possible, implementations should avoid sending filepaths that need to be cleaned. The minimal path is ``/``; blank path is an error.
+ The path is a Unix-style absolute filepath with an optional trailing slash. It may (and probably should) be cleaned up by CNP implementations before being processed by collapsing multiple consecutive slashes into single ones, removing path entries that consist of a single dot and resolving double-dot parent directories, while leaving a trailing slash if one was present (for example, the path ``/../.././//foo/bar/..`` becomes ``/foo`` and ``//foo/bar/../`` becomes ``/foo/``). If possible, implementations should avoid sending filepaths that need to be cleaned. The minimal path is ``/``; blank path is an error.
The hostname is case-insensitive, while the path is case-sensitive. Hostname may be normalized by clients and servers, but a specific path (after cleanup) represents one specific resource.