mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-29 16:44:03 +00:00
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/).
This commit is contained in:
parent
e269422b91
commit
403c4b46e0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=252022
@ -81,7 +81,7 @@ f_media_set_http_proxy()
|
||||
hostname="${hostname#\[}"
|
||||
hostname="${hostname%\]}"
|
||||
;;
|
||||
"["*"]:")
|
||||
"["*"]:"*)
|
||||
hostname="${hostname#\[}"
|
||||
port="${hostname#*\]:}"
|
||||
port="${port%%[!0-9]*}"
|
||||
|
Loading…
Reference in New Issue
Block a user