uri: uri.format encapsulate IPv6 address in []
This patch adds encapsulation for IPv6 addresses in brackets when calling uri.format (as per RFC 2732). Closes #9556 NO_DOC=bugfix (cherry picked from commit a49ec23b85edb684744eb525427465dfa4f660e1)
Showing
- changelogs/unreleased/gh-9556-fix-uri-ipv6.md 2 additions, 1 deletionchangelogs/unreleased/gh-9556-fix-uri-ipv6.md
- src/lib/uri/uri.c 4 additions, 1 deletionsrc/lib/uri/uri.c
- src/lua/uri.lua 10 additions, 0 deletionssrc/lua/uri.lua
- test/app-luatest/gh_9556_uri_parse_format_ipv6_test.lua 12 additions, 0 deletionstest/app-luatest/gh_9556_uri_parse_format_ipv6_test.lua
Loading
Please register or sign in to comment