On 12/31/05, Igor Murashkin <[EMAIL PROTECTED]> wrote:
>
> Interesting. If it's called with a trailing / at the end in either
> case, it works fine.. if it's called WITHOUT a trailing /, it *does not
> work*. I suspect this is a buggy in mochikit, since it tries to call
> loadJSONDoc("list").
>
> Thanks for the headsup Ronald, now I can remove my work-around of list
> = catwalk.list and so on ;). But can we expect this thing to be fixed
> so it doesn't occur in the future? MochiKit needs to recognize that the
> last part without a URL without dots is a directory!

This is just standard relative URLs.

http://foo/catwalk

with a relative URL of "list" you go to
http://foo/list

http://foo/catwalk/

with a relative URL of "list" you go to:
http://foo/catwalk/list

Kevin

--
Kevin Dangoor
Author of the Zesty News RSS newsreader

email: [EMAIL PROTECTED]
company: http://www.BlazingThings.com
blog: http://www.BlueSkyOnMars.com

Reply via email to