small bug fix

This commit is contained in:
Liang Zhu 2015-07-21 23:38:56 -07:00
parent 725d116852
commit cea1b62a9a

View file

@ -377,7 +377,7 @@ function update_http_info(ocsp: OCSP_SSL_SPLIT::Info_OCSP, http: HTTP::Info)
if ( http?$uri )
{
local uri_str = http$uri;
if ( http$uri == "http://" + http$host )
if ( http?$host && http$uri == "http://" + http$host )
uri_str = "/"; #deal with software bug: make the full url empty
if ( ocsp?$ocsp_uri )
ocsp$ocsp_uri += uri_str;