Loading server/util_uri.c +1 −0 Original line number Diff line number Diff line Loading @@ -289,6 +289,7 @@ deal_with_host: if (s == NULL) { /* we expect the common case to have no port */ uptr->hostname = apr_pstrndup(p, hostinfo, uri - hostinfo); uptr->port = uptr->scheme ? ap_default_port_for_scheme(uptr->scheme) : DEFAULT_HTTP_PORT; goto deal_with_path; } uptr->hostname = apr_pstrndup(p, hostinfo, s - hostinfo); Loading Loading
server/util_uri.c +1 −0 Original line number Diff line number Diff line Loading @@ -289,6 +289,7 @@ deal_with_host: if (s == NULL) { /* we expect the common case to have no port */ uptr->hostname = apr_pstrndup(p, hostinfo, uri - hostinfo); uptr->port = uptr->scheme ? ap_default_port_for_scheme(uptr->scheme) : DEFAULT_HTTP_PORT; goto deal_with_path; } uptr->hostname = apr_pstrndup(p, hostinfo, s - hostinfo); Loading