summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorclsr <clsr@clsr.net>2018-07-15 03:10:57 +0200
committerclsr <clsr@clsr.net>2018-07-15 03:10:57 +0200
commite24c144ed44592c1a93e2e71a54d5593060c8367 (patch)
tree824bbaccb47b6ce9eaf26956e3077daa95fc3746
parenta4da42c85b789fa9bdb1822b598abe814b0301cd (diff)
downloadcnp-e24c144ed44592c1a93e2e71a54d5593060c8367.tar.gz
cnp-e24c144ed44592c1a93e2e71a54d5593060c8367.zip
Remove leftover escaped slashes
-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.