From owner-svn-ports-head@freebsd.org Tue May 23 10:48:53 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7A730D791DC; Tue, 23 May 2017 10:48:53 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from ihor-3.amdmi3.ru (ihor-3.amdmi3.ru [185.117.152.228]) by mx1.freebsd.org (Postfix) with ESMTP id 30F321858; Tue, 23 May 2017 10:48:52 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from hive.panopticon (unknown [78.153.152.119]) by ihor-3.amdmi3.ru (Postfix) with ESMTPS id D6D3F1AF122; Tue, 23 May 2017 13:48:50 +0300 (MSK) Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id 3201EDE5; Tue, 23 May 2017 13:42:33 +0300 (MSK) Received: by hades.panopticon (Postfix, from userid 1000) id D0A2EF4E; Tue, 23 May 2017 13:48:22 +0300 (MSK) Date: Tue, 23 May 2017 13:48:22 +0300 From: Dmitry Marakasov To: Joseph Mingrone Cc: Alexey Dokuchaev , 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> References: <201705180900.v4I90Xnx023611@repo.freebsd.org> <86pof6ifbl.fsf@phe.ftfl.ca> <20170518131606.GA25843@FreeBSD.org> <86mva8c1x0.fsf@phe.ftfl.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <86mva8c1x0.fsf@phe.ftfl.ca> User-Agent: Mutt/1.8.2 (2017-04-18) X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2017 10:48:53 -0000 * 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