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

Stephan Richter srichter at cosmos.phy.tufts.edu
Sat Oct 29 09:43:45 EDT 2005


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.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training


More information about the Zope3-Checkins mailing list