[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: url-encode-url: do not add a trailing slash for "bare" URLs (with no
Re: url-encode-url: do not add a trailing slash for "bare" URLs (with no file/directory)
Wed, 12 Mar 2014 10:05:52 -0400
Hi Bastien and Stefan,
On Wed, Mar 12, 2014 at 9:40 AM, Stefan Monnier
>> The following trivial patch changes this.
> I'm no expert on URL conventions, but it looks OK to me, tho maybe the /
> is needed when there's a fragment.
I'd agree with you here, in that the enclosed patch probably wouldn't
work as expected in the case of a fragment being present.
I'd agree with Bastien in that it's never the right thing to default
to a directory, especially since most servers these days will
automatically redirect you to the directory if one is present with the
same name as the 'file' you requested.
http://five.sentenc.es/ -- Spend less time on mail