chicken-janitors
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-janitors] #998: uri->string / make-uri path encoding inconsiste


From: Chicken Trac
Subject: [Chicken-janitors] #998: uri->string / make-uri path encoding inconsistencies
Date: Thu, 14 Mar 2013 12:27:41 -0000

#998: uri->string / make-uri path encoding inconsistencies
---------------------+------------------------------------------------------
 Reporter:  andyjpb  |       Owner:         
     Type:  defect   |      Status:  new    
 Priority:  major    |   Milestone:  someday
Component:  unknown  |     Version:  4.8.x  
 Keywords:           |  
---------------------+------------------------------------------------------
 (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>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]