mod_rewrite: Follow up to r1893519: Handle potential "unix://[authority]/".
is_absolute_uri() should return the offset to the authority part, if any.
@@ -658,7 +658,7 @@ static unsigned is_absolute_uri(char *uri, int *supportsqs)
case 'U':
if (!ap_cstr_casecmpn(uri, "nix:", 4)) { /* unix: */
*sqs = 1;
- return 5;
+ return (uri[4] == '/' && uri[5] == '/') ? 7 : 5;
}
}
