* modules/ssl/ssl_engine_ocsp.c (determine_responder_uri): Check
u->scheme is non-NULL before calling ap_cstr_casecmp(), since
apr_uri_parse() can succeed with a NULL scheme for scheme-less URIs.
Assisted-by: Claude Sonnet 4.6 <noreply@anthropic.com>
GitHub: PR #685
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1936259 13f79535-47bb-0310-9956-
ffa450edef68
}
rv = apr_uri_parse(p, s, u);
- if (rv || !u->hostname) {
+ if (rv || !u->hostname || !u->scheme) {
ap_log_cerror(APLOG_MARK, APLOG_DEBUG, rv, c, APLOGNO(01919)
"failed to parse OCSP responder URI '%s'", s);
return NULL;