Return-Path: owner-new-httpd Received: by taz.hyperreal.com (8.6.10/8.6.5) id NAA09785; Fri, 7 Apr 1995 13:05:32 -0700 Received: from life.ai.mit.edu by taz.hyperreal.com (8.6.10/8.6.5) with SMTP id NAA09779; Fri, 7 Apr 1995 13:05:30 -0700 Received: from volterra (volterra.ai.mit.edu) by life.ai.mit.edu (4.1/AI-4.10) for new-httpd@hyperreal.com id AA12499; Fri, 7 Apr 95 16:05:30 EDT From: rst@ai.mit.edu (Robert S. Thau) Received: by volterra (4.1/AI-4.10) id AA18960; Fri, 7 Apr 95 16:05:28 EDT Date: Fri, 7 Apr 95 16:05:28 EDT Message-Id: <9504072005.AA18960@volterra> To: new-httpd@hyperreal.com Subject: Re: sloppy URLs Sender: owner-new-httpd@hyperreal.com Precedence: bulk Reply-To: new-httpd@hyperreal.com Missing leading / should clearly get a 400 --- no browser should ever even be generating such a request. As to the other two, I'm not sure why you regard the current behavior as "incorrect" --- there's no standard that says anything at all in particular about how URLs relate to the underlying file structure, nor should there be --- it just places too much constraint on perfectly legitimate experimentation by server authors. (It's perfectly reasonable to have database-based servers which don't even have an underlying file system). Specifically --- wrt trailing / --- it works specifically by the request of a whole lot of users, including (at one point) me. It's not as efficient as including the trailing /, but so long as people know that I don't see any problem with their continuing to use it. And making these return 404s instead of redirects would break MANY existing sites; Apache would no longer be a drop-in replacement for NCSA 1.3, let alone 1.4. I think that's a bad idea. Trailing / is, IMHO, even a weaker case --- trailing / even has a perfectly legitimate interpretation in some circumstances (PATH_INFO to server-includes HTML). Sure, it's silly, but unlike the "missing" / case, there isn't even any extra overhead. Why should we go out of our way to break it? -1 on all but the first. rst