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

MacPorts noreply at macports.org
Thu Jun 11 11:48:19 PDT 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:                                       
-------------------------------------+--------------------------------------
Changes (by snc@…):

 * cc: snc@… (added)


Comment:

 Replying to [comment:3 ryandesign@…]:
 > 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 ~.

 We can probably summarize that as "Returns a string in which all non-
 alphanumeric characters except -_. have been replaced with a percent (%)
 sign followed by two hex digits." (from [http://php.net/url_encode PHP]).

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


More information about the macports-tickets mailing list