I'm wondering if DirectoryServerResource should have a broader notion of what a directory is.
Right now, if a URL appears to be referencing a directory but doesn't have slash on the end, it redirects to the version with the slash. That's fine if somebody comes to /foo and gets redirected to /foo/. But what if there's a query? In my case, I have links in Facebook newsfeed items that go to a JS app served up via Restlet. For example, a newsfeed link might go to /foo/?ref=nf, so that I can track the source. However, because that doesn't end with a slash, DirectoryServerResource redirects that to /foo/, which prevents us from using Google Analytics to track sources. Rather than looking at the whole URL for a trailing slash, shouldn't it just be looking at the path, not everything including the query? Thanks, William ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2635327

