Date: Tue, 23 May 2017 13:48:22 +0300 From: Dmitry Marakasov <amdmi3@amdmi3.ru> To: Joseph Mingrone <jrm@FreeBSD.org> Cc: Alexey Dokuchaev <danfe@FreeBSD.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r441133 - head/devel/rubygem-simple-navigation Message-ID: <20170523104822.GE96731@hades.panopticon> In-Reply-To: <86mva8c1x0.fsf@phe.ftfl.ca> References: <201705180900.v4I90Xnx023611@repo.freebsd.org> <86pof6ifbl.fsf@phe.ftfl.ca> <20170518131606.GA25843@FreeBSD.org> <86mva8c1x0.fsf@phe.ftfl.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
* Joseph Mingrone (jrm@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@amdmi3.ru ..: jabber: amdmi3@jabber.ru http://amdmi3.ru
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170523104822.GE96731>