Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jun 2013 07:29:43 +0000 (UTC)
From:      Devin Teske <dteske@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r252022 - head/usr.sbin/bsdconfig/share/media
Message-ID:  <201306200729.r5K7ThOi063679@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dteske
Date: Thu Jun 20 07:29:42 2013
New Revision: 252022
URL: http://svnweb.freebsd.org/changeset/base/252022

Log:
  Fix a code typo in a case-statement match expression that prevented IPv6
  URLs with port designator from working properly (e.g. http://[::1]:80/).

Modified:
  head/usr.sbin/bsdconfig/share/media/httpproxy.subr

Modified: head/usr.sbin/bsdconfig/share/media/httpproxy.subr
==============================================================================
--- head/usr.sbin/bsdconfig/share/media/httpproxy.subr	Thu Jun 20 07:23:04 2013	(r252021)
+++ head/usr.sbin/bsdconfig/share/media/httpproxy.subr	Thu Jun 20 07:29:42 2013	(r252022)
@@ -81,7 +81,7 @@ f_media_set_http_proxy()
 		hostname="${hostname#\[}"
 		hostname="${hostname%\]}"
 		;;
-	"["*"]:")
+	"["*"]:"*)
 		hostname="${hostname#\[}"
 		port="${hostname#*\]:}"
 		port="${port%%[!0-9]*}"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306200729.r5K7ThOi063679>