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
@ -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