The fix r18449 missed 1 line which will cause Http.Request() ASSERT. This patch
will correct this error.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18453
6f19259b-4bc3-4df7-8a09-
765794883524
return EFI_ACCESS_DENIED; \r
} \r
\r
- Url = NULL;\r
HostName = NULL;\r
Wrap = NULL;\r
HostNameStr = NULL;\r
//\r
// Parse the URI of the remote host.\r
//\r
+ Url = HttpInstance->Url;\r
UrlLen = StrLen (Request->Url) + 1;\r
if (UrlLen > HTTP_URL_BUFFER_LEN) {\r
Url = AllocateZeroPool (UrlLen);\r