Overview
| Artifact ID: | 7d7e8110ff3b9e630684db606b723b47cd3117bf |
|---|---|
| Ticket: | 3eb2ec1449150778e3907e2e35e94ffe7339c780
Allow upper case scheme names in url |
| User & Date: | oehhar on 2013-07-26 14:40:20 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-wiki"
- comment changed to:
An upper case scheme name in an URL is not allowed: <verbatim> % http::geturl HTTP://www.elmicron.de/ Unsupported URL type "HTTP" </verbatim> But following RFC 3986, URL Scheme names should be case insensitive: [http://tools.ietf.org/html/rfc3986] Chapter 3.1: <verbatim> Scheme names consist of a sequence of characters beginning with a letter and followed by any combination of letters, digits, plus ("+"), period ("."), or hyphen ("-"). Although schemes are case- insensitive, the canonical form is lowercase and documents that specify schemes must do so with lowercase letters. An implementation should accept uppercase letters as equivalent to lowercase in scheme names (e.g., allow "HTTP" as well as "http") for the sake of robustness but should only produce lowercase scheme names for consistency. </verbatim> This could be cured by inserting: <verbatim> set proto [string tolower $proto] </verbatim> in line 504 of http.tcl. For me, this extension is relatively important, as I get URLs from RFID tags and there, the protocol is written in uppercase (which may be stored more efficiently). Of cause, I may do the conversion on my own, but as it is standard, we could also enhance the http package... Thank you, Harald - foundin changed to: "trunk"
- is_private changed to: "0"
- login: "oehhar"
- priority changed to: "5 Medium"
- private_contact changed to: "0f366eb3e9e2fcab52b8ebacd197db9047186a5f"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "oehhar"
- subsystem changed to: "29. http Package"
- title changed to: "Allow upper case scheme names in url"
- type changed to: "Bug"