svn commit: r441133 - head/devel/rubygem-simple-navigation

Dmitry Marakasov amdmi3 at amdmi3.ru
Tue May 23 10:48:53 UTC 2017


* Joseph Mingrone (jrm at FreeBSD.org) wrote:

> >> > New Revision: 441133
> >> > URL: https://svnweb.freebsd.org/changeset/ports/441133
> 
> >> > Log:
> >> >   - Fix WWW
> 
> >> >   Approved by:	portmgr blanket
> >> > ...
> >> > -WWW: http://github.com/codeplant/simple-navigation/
> >> > +WWW: https://github.com/codeplant/simple-navigation
> 
> >> Did I misinterpret section 3.2.1. of the porter's handbook?
> 
> >> "If the URI is the root of the website or directory, it must be
> >> terminated with a slash."
> 
> > No, you didn't.  GitHub pages are not really directories (e.g. Firefox
> > would not append slash to it if you paste the URL and go, like it does
> > for real directories).

Firefox does not append slashes. A website may redirect an url without
slash to an url with slash or vice versa though.

> > ./danfe
> 
> Makes sense.  Thanks for clarifying.

Actually, it doesn't. In general, there is no sense in
distinguishing files/directories in URLs - these terms just do not
apply. If the site redirects to an URL variant with or without
trailing slash, redirect target should be used. If the site allows
both variants, "canonical one" could be picked, e.g.  the variant
website uses itself. If you go to https://github.com/freebsd/freebsd-ports/
and click onto repository name link, you'll get onto
https://github.com/freebsd/freebsd-ports - and that is the canonical
url.

-- 
Dmitry Marakasov   .   55B5 0596 FF1E 8D84 5F56  9510 D35A 80DD F9D2 F77D
amdmi3 at amdmi3.ru  ..:  jabber: amdmi3 at jabber.ru      http://amdmi3.ru


More information about the svn-ports-all mailing list