Tasks #974

Make URIs case-insensitive

Added by Anonymous about 12 years ago. Updated over 8 years ago.

Status:RejectedStart date:03/28/2012
Priority:NormalDue 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.

patch Magnifier (529 Bytes) Anonymous, 03/28/2012 05:57 PM

Associated revisions

Revision a6e04e8f
Added by J. Moringen about 12 years ago

Added scope specification in manual/specification.rst
refs #974
  • manual/specification.rst: added initial scope specification

Revision 9d4862b0
Added by J. Wienke over 8 years ago

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

Revision 32ec7927
Added by J. Moringen over 8 years ago

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

Revision 8641606a
Added by J. Moringen over 8 years ago

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

#2 Updated by Anonymous about 12 years ago

  • File patchMagnifier added
  • Status changed from New to Feedback
Proposal:
  • 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 12 years ago

I am in favor. Sebastian, Johannes, what do you think?

#4 Updated by S. Wrede almost 12 years ago

+1

#5 Updated by J. Moringen over 11 years ago

  • Target version set to rsb-0.9

#6 Updated by J. Moringen over 11 years ago

  • Target version changed from rsb-0.9 to rsb-0.10

#7 Updated by J. Moringen over 10 years ago

  • Target version changed from rsb-0.10 to rsb-0.11

#8 Updated by J. Moringen over 9 years ago

  • Target version changed from rsb-0.11 to rsb-0.12

#9 Updated by J. Wienke almost 9 years ago

  • Target version changed from rsb-0.12 to rsb-0.13

#10 Updated by J. Wienke over 8 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.

Also available in: Atom PDF