Re: [Zope] Hooks for methods other than GET/POST on port 80?

2005-12-12 Thread Chris Withers
Roman Susi wrote: Not sure if filesystem based products qualify, but its like saying that ´is it operating system problem or stupid application code which brings OS down'. One misbehaving code should not bring down the whole framework, IMHO. What is the issue number for this in the zope

Re: [Zope] Hooks for methods other than GET/POST on port 80?

2005-12-10 Thread Roman Susi
Andreas Jung wrote: --On 9. Dezember 2005 15:33:38 +0200 Roman Susi [EMAIL PROTECTED] wrote: Hi! I've found the reason for original bug I hit. The recursion was in my code (and gone away after I corrected it). However, the bug I reported to Zope.org is still there. I think its a bug

Re: [Zope] Hooks for methods other than GET/POST on port 80?

2005-12-10 Thread Andreas Jung
--On 10. Dezember 2005 10:36:16 +0200 Roman Susi [EMAIL PROTECTED] wrote: Not sure if filesystem based products qualify, but its like saying that ´is it operating system problem or stupid application code which brings OS down'. One misbehaving code should not bring down the whole framework,

Re: [Zope] Hooks for methods other than GET/POST on port 80?

2005-12-09 Thread Roman Susi
Andreas Jung wrote: --On 9. Dezember 2005 08:04:04 +0200 Roman Susi [EMAIL PROTECTED] wrote: Chris Withers wrote: Roman Susi wrote: Even if it is in my code, it is still too bad to get down the whole Zope server. Also, it was confirmed as a bug. Where and who by? At Zope.org

Re: [Zope] Hooks for methods other than GET/POST on port 80?

2005-12-09 Thread Andreas Jung
--On 9. Dezember 2005 15:33:38 +0200 Roman Susi [EMAIL PROTECTED] wrote: Hi! I've found the reason for original bug I hit. The recursion was in my code (and gone away after I corrected it). However, the bug I reported to Zope.org is still there. I think its a bug to freeze the whole server

Re: [Zope] Hooks for methods other than GET/POST on port 80?

2005-12-08 Thread Chris Withers
Roman Susi wrote: Even if it is in my code, it is still too bad to get down the whole Zope server. Also, it was confirmed as a bug. Where and who by? Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk

Re: [Zope] Hooks for methods other than GET/POST on port 80?

2005-12-08 Thread Roman Susi
Chris Withers wrote: Roman Susi wrote: Even if it is in my code, it is still too bad to get down the whole Zope server. Also, it was confirmed as a bug. Where and who by? At Zope.org issue tracker by ajung. However, it is not seen as it is security related. Chris

Re: [Zope] Hooks for methods other than GET/POST on port 80?

2005-12-08 Thread Andreas Jung
--On 9. Dezember 2005 08:04:04 +0200 Roman Susi [EMAIL PROTECTED] wrote: Chris Withers wrote: Roman Susi wrote: Even if it is in my code, it is still too bad to get down the whole Zope server. Also, it was confirmed as a bug. Where and who by? At Zope.org issue tracker by ajung.

Re: [Zope] Hooks for methods other than GET/POST on port 80?

2005-12-07 Thread Chris Withers
(please keep the list CC'ed in) Roman Susi wrote: What do you mean by freezes? how did you cause this to happen? Surely, this is not only a bug but a security issue leading to DOS attack, IMHO. Well, it's a pretty weird use case from what I can see... Traceback (most recent call

Re: [Zope] Hooks for methods other than GET/POST on port 80?

2005-12-07 Thread Roman Susi
Chris Withers wrote: (please keep the list CC'ed in) Roman Susi wrote: What do you mean by freezes? how did you cause this to happen? Surely, this is not only a bug but a security issue leading to DOS attack, IMHO. Well, it's a pretty weird use case from what I can see... Still, it

Re: [Zope] Hooks for methods other than GET/POST on port 80?

2005-12-06 Thread Chris Withers
Roman Susi wrote: This is what freezes Zope: What do you mean by freezes? how did you cause this to happen? Traceback (most recent call last): File /usr/local/lib/python2.3/logging/__init__.py, line 674, in emit msg = self.format(record) File

Re: [Zope] Hooks for methods other than GET/POST on port 80?

2005-12-06 Thread Dieter Maurer
Roman Susi wrote at 2005-12-5 16:51 +0200: Dieter Maurer wrote: ... This is what freezes Zope: Traceback (most recent call last): File /usr/local/lib/python2.3/traceback.py, line 68, in print_tb line = linecache.getline(filename, lineno) File /usr/local/lib/python2.3/linecache.py,

Re: [Zope] Hooks for methods other than GET/POST on port 80?

2005-12-05 Thread Roman Susi
Dieter Maurer wrote: Roman Suzi wrote at 2005-12-3 21:56 +0200: I am looking for a way in Zope to receive HTTP-requests with, eg, DELETE and PUT in the object method. Zope (2.7.x) seems to intercept these and issue Not authorised. DELETE and PUT are WebDAV methods (and defined in

Re: [Zope] Hooks for methods other than GET/POST on port 80?

2005-12-05 Thread Roman Susi
Dieter Maurer wrote: Roman Suzi wrote at 2005-12-3 21:56 +0200: I am looking for a way in Zope to receive HTTP-requests with, eg, DELETE and PUT in the object method. Zope (2.7.x) seems to intercept these and issue Not authorised. DELETE and PUT are WebDAV methods (and defined in

Re: [Zope] Hooks for methods other than GET/POST on port 80?

2005-12-04 Thread Roman Susi
Tino Wildenhain wrote: Am Samstag, den 03.12.2005, 21:56 +0200 schrieb Roman Suzi: Hi! ... DELETE /path/to/object/X/Y HTTP/1.1 Host: myhost.myorg.org Content-Type: application/myprotocol+xml Of course, I have a product Z which has this class: class Z: ... def Y(self,

Re: [Zope] Hooks for methods other than GET/POST on port 80?

2005-12-04 Thread Dieter Maurer
Roman Suzi wrote at 2005-12-3 21:56 +0200: I am looking for a way in Zope to receive HTTP-requests with, eg, DELETE and PUT in the object method. Zope (2.7.x) seems to intercept these and issue Not authorised. DELETE and PUT are WebDAV methods (and defined in webdav.Resource.Resouce). You have

[Zope] Hooks for methods other than GET/POST on port 80?

2005-12-03 Thread Roman Suzi
Hi! I am looking for a way in Zope to receive HTTP-requests with, eg, DELETE and PUT in the object method. Zope (2.7.x) seems to intercept these and issue Not authorised. (I check REQUEST.REQUEST_METHOD to decide what to do in the object's method. POST and GET are fine, but others are blocked

Re: [Zope] Hooks for methods other than GET/POST on port 80?

2005-12-03 Thread Tino Wildenhain
Am Samstag, den 03.12.2005, 21:56 +0200 schrieb Roman Suzi: Hi! ... DELETE /path/to/object/X/Y HTTP/1.1 Host: myhost.myorg.org Content-Type: application/myprotocol+xml Of course, I have a product Z which has this class: class Z: ... def Y(self, REQUEST): if