]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg:Fix a bug that HttpLib can not parse Ipv6 address correctly.
authorZhang Lubo <lubo.zhang@intel.com>
Mon, 9 Nov 2015 03:45:23 +0000 (03:45 +0000)
committerluobozhang <luobozhang@Edk2>
Mon, 9 Nov 2015 03:45:23 +0000 (03:45 +0000)
commite91cc29dd71c9597dbf835b068e4d4d9b1ccb97d
treee22616df7939d9feb47729ff9fc30a3588815f81
parentb659408b933f40765960e877de3e1f8ceaab52cb
MdeModulePkg:Fix a bug that HttpLib can not parse Ipv6 address correctly.

When parsing the authority component of the input URL, it can not distinguish
the ":" is the flag that indicates the port or the separator between
the ipv6 address.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Zhang Lubo <lubo.zhang@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Wu Jiaxin <jiaxin.wu@intel.com>
Reviewed-by: Gary Ching-Pang Lin <glin@suse.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18744 6f19259b-4bc3-4df7-8a09-765794883524
MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.c