[MacPorts] #18736: distname is not percent-encoded before gluing it into the URL

MacPorts noreply at macports.org
Tue Mar 3 16:13:07 PST 2009


#18736: distname is not percent-encoded before gluing it into the URL
-------------------------------------+--------------------------------------
 Reporter:  ryandesign@…             |       Owner:  macports-tickets@…                   
     Type:  enhancement              |      Status:  new                                  
 Priority:  Normal                   |   Milestone:  MacPorts 1.8.0                       
Component:  base                     |     Version:  1.7.0                                
 Keywords:                           |        Port:                                       
-------------------------------------+--------------------------------------

Comment(by ryandesign@…):

 Replying to [comment:2 raimue@…]:
 > Now you already made the effort of writing this in Tcl, but as we are
 already using and linking with libcurl, we could use
 [http://curl.haxx.se/libcurl/c/curl_easy_escape.html curl_easy_escape()]
 for this purpose.
 That would be fine with me, except if it does what the docs say: "All
 input characters that are not a-z, A-Z or 0-9 are converted to their 'URL
 escaped' version" -- if that's what it really does then that's broken just
 like tcl < 8.4.12 was broken: it needs to convert all characters that are
 not a-z, A-Z, 0-9, -, ., _ or ~.

-- 
Ticket URL: <http://trac.macports.org/ticket/18736#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list