audk/NetworkPkg
Jiaxin Wu 7191827f90 NetworkPkg/HttpDxe: Strip square brackets in IPv6 expressed HostName.
*v2: Optimize the patch by calculating AsciiStrSize() only once.

In URI, the colon (:) is used to terminate the HostName path before
a port number. However, if HostName is expressed as IPv6 format, colon
characters in IPv6 addresses will conflict with the colon before port
number. To alleviate this conflict in URI, the IPv6 expressed HostName
are enclosed in square brackets ([]). To record the real IPv6 HostName,
square brackets should be stripped.

Cc: Ye Ting <ting.ye@intel.com>
Cc: Fu Siyuan <siyuan.fu@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Wu Jiaxin <jiaxin.wu@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
2018-08-03 08:34:03 +08:00
..
Application NetworkPkg: Clean up source files 2018-06-28 11:19:49 +08:00
Dhcp6Dxe NetworkPkg: Clean up source files 2018-06-28 11:19:49 +08:00
DnsDxe NetworkPkg: Clean up source files 2018-06-28 11:19:49 +08:00
HttpBootDxe NetworkPkg: Clean up source files 2018-06-28 11:19:49 +08:00
HttpDxe NetworkPkg/HttpDxe: Strip square brackets in IPv6 expressed HostName. 2018-08-03 08:34:03 +08:00
HttpUtilitiesDxe NetworkPkg: Clean up source files 2018-06-28 11:19:49 +08:00
IScsiDxe NetworkPkg: Clean up source files 2018-06-28 11:19:49 +08:00
Include/Guid NetworkPkg: Clean up source files 2018-06-28 11:19:49 +08:00
Ip6Dxe NetworkPkg: Clean up source files 2018-06-28 11:19:49 +08:00
IpSecDxe NetworkPkg: Clean up source files 2018-06-28 11:19:49 +08:00
Mtftp6Dxe NetworkPkg: Clean up source files 2018-06-28 11:19:49 +08:00
TcpDxe NetworkPkg: Clean up source files 2018-06-28 11:19:49 +08:00
TlsAuthConfigDxe NetworkPkg: Clean up source files 2018-06-28 11:19:49 +08:00
TlsDxe NetworkPkg: Clean up source files 2018-06-28 11:19:49 +08:00
Udp6Dxe NetworkPkg: Clean up source files 2018-06-28 11:19:49 +08:00
UefiPxeBcDxe NetworkPkg: Clean up source files 2018-06-28 11:19:49 +08:00
NetworkPkg.dec NetworkPkg: Clean up source files 2018-06-28 11:19:49 +08:00
NetworkPkg.dsc NetworkPkg: Clean up source files 2018-06-28 11:19:49 +08:00
NetworkPkg.uni NetworkPkg: Clean up source files 2018-06-28 11:19:49 +08:00
NetworkPkgExtra.uni NetworkPkg: Clean up source files 2018-06-28 11:19:49 +08:00