diff options
author | dteske <dteske@FreeBSD.org> | 2013-06-20 07:29:42 +0000 |
---|---|---|
committer | dteske <dteske@FreeBSD.org> | 2013-06-20 07:29:42 +0000 |
commit | 10da02bc8d0c85c86d78640dee43641acfc687aa (patch) | |
tree | 5622201eb1283d1157bae5a3ad55f34db7754176 /usr.sbin/bsdconfig/share/media/httpproxy.subr | |
parent | 6dd0be38a0450ec90f9e4684f0041d758f021eb9 (diff) | |
download | FreeBSD-src-10da02bc8d0c85c86d78640dee43641acfc687aa.zip FreeBSD-src-10da02bc8d0c85c86d78640dee43641acfc687aa.tar.gz |
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/).
Diffstat (limited to 'usr.sbin/bsdconfig/share/media/httpproxy.subr')
-rw-r--r-- | usr.sbin/bsdconfig/share/media/httpproxy.subr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bsdconfig/share/media/httpproxy.subr b/usr.sbin/bsdconfig/share/media/httpproxy.subr index fad1007..a29bfef 100644 --- a/usr.sbin/bsdconfig/share/media/httpproxy.subr +++ b/usr.sbin/bsdconfig/share/media/httpproxy.subr @@ -81,7 +81,7 @@ f_media_set_http_proxy() hostname="${hostname#\[}" hostname="${hostname%\]}" ;; - "["*"]:") + "["*"]:"*) hostname="${hostname#\[}" port="${hostname#*\]:}" port="${port%%[!0-9]*}" |