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
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):
>
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:
>
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").
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 i
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 defi
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 "/usr/local/lib/python2.3/logging/__init
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/lin
(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 last)
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 i
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
__
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
--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. Ho
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 is
--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
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.
>>
--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
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 collect
Chris Withers wrote:
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
19 matches
Mail list logo