[Nh-pm] Oddity with URI::Escape

Bill McGonigle bill at bfccomputing.com
Mon Jan 31 20:05:39 PST 2005


On Jan 31, 2005, at 16:09, Ray Cote wrote:

> URI::Escape::uri_escape default has changed. Reserved characters are 
> now escaped when no second argument is provided.
>
> Guess I should still go back through the old code and figure out why 
> _some_ of the characters were escaped since the above would imply 
> nothing should have been escaped.

Being that & and + were causing you trouble: & is used for separating 
GET variables (?foo=bar&fred=barney) and + is munged by some webservers 
to space (%20) - frequently the cause of much consternation with my 
plus-expanded e-mail addresses (bill+whatevermailbox at bfccomputing.com).

So maybe that's why they were reserved.  ?, / and : might also have 
been on the list?

Just a guess...

-Bill

-----
Bill McGonigle, Owner           Work: 603.448.4440
BFC Computing, LLC              Home: 603.448.1668
bill at bfccomputing.com           Cell: 603.252.2606
http://www.bfccomputing.com/    Page: 603.442.1833
AIM: wpmcgonigle                Skype: bill_mcgonigle



More information about the Nh-pm mailing list