-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Http] Fix handling of ipv6 address in host header
The current implementation of _HttpHeaders._addHost does not handle ipv6 address correctly. This patch fixes the handling and add test case for that. References: - flutter/flutter#83609 (comment) TEST=http_headers_test.dart has been updated with new cases. Bug: flutter/flutter#83609 (comment) Change-Id: Idc4e9bbe66d66f0d846c7a32a40854201c3b0153 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/205280 Reviewed-by: Siva Annamalai <[email protected]> Commit-Queue: Siva Annamalai <[email protected]>
- Loading branch information
1 parent
0acfd2a
commit 4160a6b
Showing
2 changed files
with
41 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters