Skip to content

Commit e233db0

Browse files
committed
minor #10075 Add missing colon to reserved chars (lboynton)
This PR was merged into the 3.4 branch. Discussion ---------- Add missing colon to reserved chars Colon is also a reserved char according to PSR-6 >Key - A string of at least one character that uniquely identifies a cached item. Implementing libraries MUST support keys consisting of the characters A-Z, a-z, 0-9, _, and . in any order in UTF-8 encoding and a length of up to 64 characters. Implementing libraries MAY support additional characters and encodings or longer lengths, but must support at least that minimum. Libraries are responsible for their own escaping of key strings as appropriate, but MUST be able to return the original unmodified key string. The following characters are reserved for future extensions and MUST NOT be supported by implementing libraries: {}()/\@: Commits ------- a9331a8 Add missing colon to reserved chars
2 parents 5c10d65 + a9331a8 commit e233db0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/cache/cache_items.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ The **key** of a cache item is a plain string which acts as its
1717
identifier, so it must be unique for each cache pool. You can freely choose the
1818
keys, but they should only contain letters (A-Z, a-z), numbers (0-9) and the
1919
``_`` and ``.`` symbols. Other common symbols (such as ``{``, ``}``, ``(``,
20-
``)``, ``/``, ``\`` and ``@``) are reserved by the PSR-6 standard for future
20+
``)``, ``/``, ``\``, ``@`` and ``:``) are reserved by the PSR-6 standard for future
2121
uses.
2222

2323
The **value** of a cache item can be any data represented by a type which is

0 commit comments

Comments
 (0)