unnecessary escapes fixes (#50178)

* unnecessary escapes fixes

* replace some strings with raw strings

* update regexp

* address review comments
This commit is contained in:
Alexandre Ardhuin
2020-02-07 06:35:50 +01:00
committed by GitHub
parent b8199abd15
commit 5c28e3eeea
19 changed files with 39 additions and 39 deletions

View File

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