[Buildroot] [PATCH 1/1] package: remove the trailing slash sign from the URL address
Michael Rommel
rommel at layer-7.net
Wed Sep 18 17:56:21 UTC 2013
Hi Jerzy,
On Sep 18, 2013, at 17:44 , Jerzy Grzegorek <jerzy.grzegorek at trzebnica.net> wrote:
>> Could you clarify why this is desirable? Note that urls with our without trailing slash are not identical: the web server needs to properly support this. For example, the autobuild website does not properly do it (something very annoying ;) )
>>
>
> The only reason is - for BR consistency.
>
actually I would not recommend to implement that. The RFC 3986 states in chapter 6.2.3: "In general, a URI that uses the generic syntax for authority with an empty path should be normalised to a path of "/".
It is common practise to redirect from the URL without trailing slash to one with a trailing slash. So in essence, in most times when the user selects a url without a trailing slash, an unnecessary round trip to the web server occurs.
Michael.
--
Michael Rommel, Erlangen, Germany
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20130918/2eec9b71/attachment.html>
More information about the buildroot
mailing list