| Index: net/cert_net/nss_ocsp.cc
|
| diff --git a/net/cert_net/nss_ocsp.cc b/net/cert_net/nss_ocsp.cc
|
| index 0eb4678434b247866712812c4e54be2ef1f9719c..1e7dd2bc5367b2d3671b4fda4b645732024113ff 100644
|
| --- a/net/cert_net/nss_ocsp.cc
|
| +++ b/net/cert_net/nss_ocsp.cc
|
| @@ -794,7 +794,7 @@ SECStatus OCSPTrySendAndReceive(SEC_HTTP_REQUEST_SESSION request,
|
|
|
| if (!is_cert && !is_crl && !is_ocsp) {
|
| // We didn't get a hint from the MIME type, so do the best that we can.
|
| - const std::string path = req->url().path();
|
| + const std::string path = req->url().path().as_string();
|
| const std::string host = req->url().host();
|
| is_crl = strcasestr(path.c_str(), ".crl") != NULL;
|
| is_cert = strcasestr(path.c_str(), ".crt") != NULL ||
|
|
|