As I said, when the url is quoted there is no problem.

http://azonia.auslabs.lucent.com/Auslabs/AuslabsFAQ/Where%20is%20X%3f

causes no problems. The above object is sitting happily inside Zope with a
question mark at the end. I had to let the bad_id check let it pass but is
there any reason why it shouldn't?

> -----Original Message-----
> From: David C. Kankiewicz [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 10, 2000 3:52 PM
> To: Jay, Dylan
> Subject: Re: [Zope-dev] OFS.objectManager checking object Ids
> 
> 
> "Jay, Dylan" wrote:
> > 
> > This seems to be a new thing in Zope 2.2, however it is breaking
> > functionality that I had before. I was able to add objects 
> with ids that had
> > a "?" in them. This gets quoted in links and seems to be 
> handled fine by
> > zope (both 2.2 and older versions). Why can't I have 
> question marks in my
> > objects then? Should I submit the inclusion of a the "?" as 
> a valid char in
> > and id as a bug?
> 
> The reason is related to the URL to your object could be
> misinterpreted as a 'get' method...
> 
> Server/path_to_object/object?name=foo
> 
> The '?' means place the names:values in REQUEST, if the object has a
> '?' in its id anything after it would be interpreted has such and zope
> would try to publish a object with the id minus the '?' and anything
> after it (which probably doesn't exist...).
> 
> 
> Did you ever run into the above problem with the id 'names?'?  No pun
> intended ;).
> I curious, maybe you were using for just this reason?
> 
> 
> David
> 
> > 
> > ----
> > Dylan Jay                           Tel:   +61 2 9886-8961
> > Avaya Communication                 FAX:   +61 2 9352 9224
> > Level 5, 15 Talavera Road           Mobile:+61 409 606 171
> > Nth Ryde, NSW, 2113                 ICQ:   520341
> > AUSTRALIA
> 

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

Reply via email to