You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
1018 B
20 lines
1018 B
2 years ago
|
--- a/modules/mappers/mod_alias.c 2014/03/30 18:15:25 1583174
|
||
|
+++ b/modules/mappers/mod_alias.c 2014/03/30 18:20:09 1583175
|
||
|
@@ -371,15 +371,11 @@
|
||
|
}
|
||
|
}
|
||
|
else {
|
||
|
- int pathlen = strlen(found) -
|
||
|
- (strlen(r->uri + regm[0].rm_eo));
|
||
|
- AP_DEBUG_ASSERT(pathlen >= 0);
|
||
|
- AP_DEBUG_ASSERT(pathlen <= strlen(found));
|
||
|
ap_set_context_info(r,
|
||
|
apr_pstrmemdup(r->pool, r->uri,
|
||
|
regm[0].rm_eo),
|
||
|
apr_pstrmemdup(r->pool, found,
|
||
|
- pathlen));
|
||
|
+ strlen(found)));
|
||
|
}
|
||
|
}
|
||
|
else {
|