-
-
Notifications
You must be signed in to change notification settings - Fork 268
Make protocol schemes case-insensitive. #8066
Copy link
Copy link
Closed
Labels
component: api / client libraryfix-version: 4.0.5fix-version: 5.0.1fix-version: 6.0 Alpha 1qa: done successfullyrlsnotes60: noIntentionally not added to the Firebird 6.0 release notes.Intentionally not added to the Firebird 6.0 release notes.type: improvement
Metadata
Metadata
Assignees
Labels
component: api / client libraryfix-version: 4.0.5fix-version: 5.0.1fix-version: 6.0 Alpha 1qa: done successfullyrlsnotes60: noIntentionally not added to the Firebird 6.0 release notes.Intentionally not added to the Firebird 6.0 release notes.type: improvement
Currently the protocol schemes in the Firebird 3.0+ connection URLs are case-sensitive (Firebrd/fbclient only accepts the lowercase variant).
Similar to RFC 3986, I think we should handle schemes case-insensitively, where lowercase is the canonical form. See https://www.rfc-editor.org/rfc/rfc3986#section-3.1
In other words, Firebird should accept
inet://...,INET://...,inet4://...,INET4://...,inet6://...,INET6://...,xnet://...andXNET://...(and mixed case forms) equally.