Problem resolving an URI

0 views
Skip to first unread message

Sven H.

unread,
Jul 3, 2006, 7:00:32 AM7/3/06
to cherryp...@googlegroups.com
Hello..

I have a method in my root controller which goes like this:

def tag(self, *args):
[...]

If I request /tag/xxx/feed/atom.xml the method gets called fine with
args = ['xxx', 'feed', 'atom.xml'].

If I request /tag/xxx/feed%2Fatom.xml I get a 404 error.

a) Shouldn't %2F be handled like / no matter what?
b) Even if %2F and / are treated differently, shouldn't the second case
also result in a method invocation?
( with args = ['xxx', 'feed/atom.xml'] or so) ?

-- Sven

Sven H.

unread,
Jul 3, 2006, 7:36:28 AM7/3/06
to cherryp...@googlegroups.com
Sven H. schrieb:
turns out it was a 404 error by apache resulting from a bug in mod_rewrite.

CherryPy reacts like I expected in b)

sorry to have bothered you with this..

-- Sven

Reply all
Reply to author
Forward
0 new messages