mirror of
https://github.com/apache/httpd.git
synced 2025-08-07 04:02:58 +03:00
Use <string.h>-compatible versions of ap_str* functions.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@422178 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -424,11 +424,11 @@ static const char *proxy_interpolate(request_rec *r, const char *str)
|
||||
const char *val;
|
||||
const char *firstpart;
|
||||
|
||||
start = ap_strstr(str, "${");
|
||||
start = ap_strstr_c(str, "${");
|
||||
if (start == NULL) {
|
||||
return str;
|
||||
}
|
||||
end = ap_strchr(start+2, '}');
|
||||
end = ap_strchr_c(start+2, '}');
|
||||
if (end == NULL) {
|
||||
return str;
|
||||
}
|
||||
|
Reference in New Issue
Block a user