Commit 1e82443
authored
Remove the check for ':' when setting authority in wasi-http. (#11145)
* Remove the check for ':' when setting authority in wasi-http.
Authorities can have `:` in them when they are IPV6 addresses.
Signed-off-by: Ryan Levick <ryan.levick@fermyon.com>
* Add test for allowing IPv6 authority
Signed-off-by: Ryan Levick <ryan.levick@fermyon.com>
---------
Signed-off-by: Ryan Levick <ryan.levick@fermyon.com>1 parent b4d2bff commit 1e82443
File tree
2 files changed
+4
-8
lines changed- crates
- test-programs/src/bin
- wasi-http/src
2 files changed
+4
-8
lines changedLines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | 51 | | |
53 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
511 | 511 | | |
512 | 512 | | |
513 | 513 | | |
514 | | - | |
515 | | - | |
516 | | - | |
517 | | - | |
518 | | - | |
519 | | - | |
| 514 | + | |
520 | 515 | | |
521 | 516 | | |
522 | 517 | | |
| |||
0 commit comments