unnecessary escapes fixes (#50178)
* unnecessary escapes fixes * replace some strings with raw strings * update regexp * address review comments
This commit is contained in:
committed by
GitHub
parent
b8199abd15
commit
5c28e3eeea
@@ -408,7 +408,7 @@ class FuchsiaRemoteConnection {
|
||||
// loopback device, so connecting to the IPv4 loopback would fail when the
|
||||
// target address is IPv6 link-local.
|
||||
final String addr = _useIpV6Loopback
|
||||
? 'http://\[$_ipv6Loopback\]:$port'
|
||||
? 'http://[$_ipv6Loopback]:$port'
|
||||
: 'http://$_ipv4Loopback:$port';
|
||||
final Uri uri = Uri.parse(addr);
|
||||
return uri;
|
||||
|
||||
Reference in New Issue
Block a user