404 errors caused by xml-rpc calls are masked
Bug #142832 reported by
netchan
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope 2 |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
When trying to access a nonexistent object/method, lib/python/
The attached patch solves the problem if the variable 't' in method 'exception' is a zException.
To post a comment you must log in.
The patch is missing the following line:
from zExceptions import NotFound
Also note that apparently the xmlrpc specs tell us **not** to return a 404. The problems is that some spammers who try to abuse xmlrpc won't get it when we don't return a 404, so for the moment I've applied the patch to my own server.