Tasks #974
Make URIs case-insensitive
Status: | Rejected | Start date: | 03/28/2012 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | Specification | |||
Target version: | rsb-0.13 |
Description
Right now it is not specified I think, but URIs are case-sensitive which they shouldn`t. Separating URIs just by cases should not be done and therefore not be possible.
In addition case-insensitivity would improve usability in cases where I have to write URIs by hand, e.g. when starting a logger via command-line.
Associated revisions
refs #974
- manual/specification.rst: added initial scope specification
Remove note about scope case-sensitivity
URI paths are case-sensitive according to RFC3986 and therefore
case-sensitive scopes, which are only used in paths and not the host
portion, do not interfere with the idea of using URIs consistently.
refs #974
Do not downcase all scope components in src/patterns/protocol.lisp
refs #974
- src/patterns/protocol.lisp (make-child-scope t symbol t): downcase the
symbol name
(make-child-scope t string t): do not downcase the string before
passing it to `derive-scope-component' - test/patterns/protocol.lisp
(test rsb-patterns-protocol-root::make-child-scope/smoke): added cases
for case-sensitivity
Test case-sensitivity in test/scope.lisp
refs #974
- test/scope.lisp (test scope-root::derive-scope-component): added cases
for case-sensitivity
(test scope-root::construction/from-components): likewise
(test scope-root::relations): likewise
(test scope-root::print): likewise
History
#1 Updated by J. Moringen almost 11 years ago
Can you propose changes to source:trunk/manual/concepts.rst and source:trunk/manual/specification.rst?
#2 Updated by Anonymous almost 11 years ago
- File patch
added
- Status changed from New to Feedback
- URIs are (remain?) case insensitive
- Scopes are always lower-case (to avoid mixing of cases but remain runtime-efficient)
- Provide a (normalization) method for scopes, for example to convert a URI path to a valid scope (converting to lower-case, stripping double-slashes, …)
See minor changes to the specification attached.
#3 Updated by J. Moringen almost 11 years ago
I am in favor. Sebastian, Johannes, what do you think?
#4 Updated by S. Wrede almost 11 years ago
+1
#5 Updated by J. Moringen over 10 years ago
- Target version set to rsb-0.9
#6 Updated by J. Moringen over 10 years ago
- Target version changed from rsb-0.9 to rsb-0.10
#7 Updated by J. Moringen over 9 years ago
- Target version changed from rsb-0.10 to rsb-0.11
#8 Updated by J. Moringen over 8 years ago
- Target version changed from rsb-0.11 to rsb-0.12
#9 Updated by J. Wienke almost 8 years ago
- Target version changed from rsb-0.12 to rsb-0.13
#10 Updated by J. Wienke over 7 years ago
- Status changed from Feedback to Rejected
RFC3689 specifies that the path in an URI is case-sensitive. Therefore we do not have to do anything here and can allow case-sensitive scope strings.