Searched refs:fromPathLen (Results 1 – 1 of 1) sorted by relevance
237 int fromPathLen = 0; in url_rewrite_remap_request() local244 map_from->path_get(&fromPathLen); in url_rewrite_remap_request()249 char newPath[(requestPathLen - fromPathLen) + toPathLen + 8]; in url_rewrite_remap_request()260 …if (!fromPathLen && requestPathLen && newPathLen && toPathLen && *(newPath + newPathLen - 1) != '/… in url_rewrite_remap_request()267 if (requestPathLen < fromPathLen) { in url_rewrite_remap_request()269 fromPathLen++; in url_rewrite_remap_request()272 if (toPath && requestPath[fromPathLen] == '/' && toPath[toPathLen - 1] == '/') { in url_rewrite_remap_request()273 fromPathLen++; in url_rewrite_remap_request()278 if ((requestPathLen - fromPathLen) > 0) { in url_rewrite_remap_request()279 memcpy(newPath + newPathLen, requestPath + fromPathLen, requestPathLen - fromPathLen); in url_rewrite_remap_request()[all …]