[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-janitors] #998: uri->string / make-uri path encoding incons
From: |
Chicken Trac |
Subject: |
Re: [Chicken-janitors] #998: uri->string / make-uri path encoding inconsistencies |
Date: |
Thu, 14 Mar 2013 19:49:03 -0000 |
#998: uri->string / make-uri path encoding inconsistencies
----------------------+-----------------------------------------------------
Reporter: andyjpb | Owner: sjamaan
Type: defect | Status: accepted
Priority: major | Milestone: someday
Component: unknown | Version: 4.8.x
Resolution: | Keywords:
----------------------+-----------------------------------------------------
Changes (by sjamaan):
* owner: => sjamaan
* status: new => accepted
Old description:
> (use uri-common)
>
> #;11> (uri->string (uri-reference "./5:123"))
> "./5:123"
>
> Correct!
>
> #;12> (uri->string (make-uri path: '("5:123")))
> "5%3A123"
>
> Incorrect!
>
> #;13> (uri->string (make-uri path: '("." "5:123")))
> "./5%3A123"
>
> Incorrect!
>
> make-uri appears to have its own path encoder which is encoding an overly
> broad set of characters. It also seems to lack the logic for consing "./"
> onto paths that have a colon in the first part.
New description:
(use uri-common)
#;11> (uri->string (uri-reference "./5:123"))
"./5:123"
Correct!
#;12> (uri->string (make-uri path: '("5:123")))
"5%3A123"
Incorrect!
#;13> (uri->string (make-uri path: '("." "5:123")))
"./5%3A123"
Incorrect!
make-uri appears to have its own path encoder which is encoding an overly
broad set of characters. It also seems to lack the logic for consing "./"
onto paths that have a colon in the first part.
--
--
Ticket URL: <http://bugs.call-cc.org/ticket/998#comment:1>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.
- [Chicken-janitors] #998: uri->string / make-uri path encoding inconsistencies, Chicken Trac, 2013/03/14
- Re: [Chicken-janitors] #998: uri->string / make-uri path encoding inconsistencies,
Chicken Trac <=
- Re: [Chicken-janitors] #998: uri->string / make-uri path encoding inconsistencies, Chicken Trac, 2013/03/14
- Re: [Chicken-janitors] #998: uri->string / make-uri path encoding inconsistencies, Chicken Trac, 2013/03/14
- Re: [Chicken-janitors] #998: uri->string / make-uri path encoding inconsistencies, Chicken Trac, 2013/03/14
- Re: [Chicken-janitors] #998: uri->string / make-uri path encoding inconsistencies, Chicken Trac, 2013/03/14
- Re: [Chicken-janitors] #998: uri->string / make-uri path encoding inconsistencies, Chicken Trac, 2013/03/14
- Re: [Chicken-janitors] #998: uri->string / make-uri path encoding inconsistencies, Chicken Trac, 2013/03/14