git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92138
13f79535-47bb-0310-9956-
ffa450edef68
static int alias_matches(const char *uri, const char *alias_fakename)
{
- const char *end_fakename = alias_fakename + strlen(alias_fakename);
const char *aliasp = alias_fakename, *urip = uri;
- while (aliasp < end_fakename) {
+ while (*aliasp) {
if (*aliasp == '/') {
/* any number of '/' in the alias matches any number in
* the supplied URI, but there must be at least one...