svn commit: r252022 - head/usr.sbin/bsdconfig/share/media
Devin Teske
dteske at FreeBSD.org
Thu Jun 20 07:29:43 UTC 2013
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]*}"
More information about the svn-src-all
mailing list