Re: [Zope] illegal id chars?

2000-09-05 Thread ethan mindlace fremen

Jason Byron wrote:
 
 Why is it that objects can't be created because the id
 chosen contains characters that aren't proper in urls?
  Spaces are allowed and converted to their hex values
 when you create an object.  Why not do this with every
 illegal url character?

As far as I personally know, illegal characters for id's are regulated
by what limits python sets on things, with the caveat that . is legal
even though you can't use a . in a pythonic context.

Whether it's "legalized" for URLS is totally dependant on url_quote.

-- 
ethan mindlace fremen
Zopatista Community Liason
Abnegate I!

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] illegal id chars?

2000-09-02 Thread Terry Kerr

Spaces are not converted to their hex values...they are a valid
character for an id!  I think you may be confused when clicking on a
link which are url_quote'd, hence, the space is replaced by its hex
value since it is an illegal url character.

terry



Jason Byron wrote:

 Why is it that objects can't be created because the id
 chosen contains characters that aren't proper in urls?
  Spaces are allowed and converted to their hex values
 when you create an object.  Why not do this with every
 illegal url character?

 I must me missing something here because this seems
 like this should have been one of the first things
 designed into Zope. Right?

 __
 Do You Yahoo!?
 Yahoo! Mail - Free email you can access from anywhere!
 http://mail.yahoo.com/

 ___
 Zope maillist  -  [EMAIL PROTECTED]
 http://lists.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists -
  http://lists.zope.org/mailman/listinfo/zope-announce
  http://lists.zope.org/mailman/listinfo/zope-dev )

--
Terry Kerr ([EMAIL PROTECTED])
Adroit Internet Solutions Pty Ltd (www.adroit.net)
Phone:   +613 9563 4461
Fax: +613 9563 3856
Mobile:  +61 414 938 124
ICQ: 79303381




___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )