Item11565: Manage.pm returns 403 forbidden for missing web when creating a topic
Priority: Normal
Current State: No Action Required
Released In: 1.2.0
Target Release: minor
This should probably be a 404 - not found. 403 is access control related and doesn't make sense here.
unless ( $session->webExists($web) ) {
throw Foswiki::OopsException(
'accessdenied',
status => 403,
def => 'no_such_web',
web => $web,
params => ['create']
);
--
GeorgeClark - 25 Feb 2012
I'm not so sure - this is in response to a POST - we're replying: no, you can't make a topic
there
--
SvenDowideit - 08 Mar 2012