* modules/proxy/mod_proxy_balancer.c (find_session_route): Replace
isspace() with apr_isspace() to avoid locale-dependent behavior
and undefined behavior with negative char values.
Submitted by: arshsmith1 <arshi bugqore.com>
GitHub: closes #675
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1936266 13f79535-47bb-0310-9956-
ffa450edef68
if (start_cookie == cookies ||
start_cookie[-1] == ';' ||
start_cookie[-1] == ',' ||
- isspace(start_cookie[-1])) {
+ apr_isspace(start_cookie[-1])) {
start_cookie += strlen(name);
- while(*start_cookie && isspace(*start_cookie))
+ while(*start_cookie && apr_isspace(*start_cookie))
++start_cookie;
if (*start_cookie++ == '=' && *start_cookie) {
/*