[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/apidoc/utilitymodule/ Fixed utility module to work well with any type of utility name.

Sidnei da Silva sidnei at enfoldsystems.com
Sat Oct 29 09:51:26 EDT 2005


On Sat, Oct 29, 2005 at 09:43:45AM -0400, Stephan Richter wrote:
| On Saturday 29 October 2005 09:22, Tarek Ziadé wrote:
| > fogot a piece in my previous message:
| >
| > urlquote is brakable as well:
| >
| >  >>> urllib.quote(' brake / me ///// please ')
| > '%20brake%20/%20me%20/////%20please%20'
| 
| Not this though:
| 
| >>> import urllib
| >>> urllib.quote_plus('I/love?my#web')
| 'I%2Flove%3Fmy%23web'
| 
| However, as I pointed out before, browsers like Konqueror decode this string 
| when it appears in a URL before sending it to the browser. So you could use a 
| second method to mask this one, but I have not found a satisfactory method to 
| do so.

Wouldn't that be a bug that needs to be fixed in Konqueror instead of
worked around in Zope? C'mon, get a real browser.

-- 
Sidnei da Silva
Enfold Systems, LLC.
http://enfoldsystems.com


More information about the Zope3-Checkins mailing list