From 4b639194b9aa4a2d76cf9d237d4c9ad801b943b4 Mon Sep 17 00:00:00 2001 From: "Chayim I. Kirshen" Date: Wed, 8 Feb 2023 15:09:40 +0200 Subject: [PATCH] Reserving field names in the uri specification grammar --- uri/redis.txt | 12 +++++++++++- uri/rediss.txt | 12 +++++++++++- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/uri/redis.txt b/uri/redis.txt index b0b2335..49af88c 100644 --- a/uri/redis.txt +++ b/uri/redis.txt @@ -98,6 +98,16 @@ Scheme semantics: The semantics of "query" URI field key-value pairs other than those previously mentioned are implementation-defined. +Reserved URI fields: + + The following field names are reserved within the URI context. +These are expressed using RGC 5234 ABNF, and are reserved as follows: + + protocol = DIGIT / "." + ; this is optional, corresponding to the version of + ; the RESP protocol requested. + ; the digits 0-9, and a period + Encoding considerations: Unknown, use with care. @@ -185,4 +195,4 @@ Security considerations: Acknowledgments: The author of this registration document gratefully acknowledges the feedback provided by Graham Klyne of Nine by Nine and Itamar Haber of - Redis Labs on drafts of this document. \ No newline at end of file + Redis Labs on drafts of this document. diff --git a/uri/rediss.txt b/uri/rediss.txt index ec89628..3f27b80 100644 --- a/uri/rediss.txt +++ b/uri/rediss.txt @@ -58,6 +58,16 @@ Scheme semantics: semantics as the redis: scheme. See the IANA registration for the redis: scheme for details. +Reserved URI fields: + + The following field names are reserved within the URI context. +These are expressed using RGC 5234 ABNF, and are reserved as follows: + + protocol = DIGIT / "." + ; this is optional, corresponding to the version of + ; the RESP protocol requested. + ; the digits 0-9, and a period + Encoding considerations: Unknown, use with care. @@ -91,4 +101,4 @@ Security considerations: and data integrity. It is theoretically possible to use client certificates as an alternative Redis-level authentication/login mechanism in place of the username/password-based "AUTH" RESP - command. \ No newline at end of file + command.