Update re_operators.c

This commit is contained in:
Marc Stern 2023-08-21 09:33:27 +02:00 committed by GitHub
parent 3dc5ff5f65
commit 9c0d05f734
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1535,10 +1535,10 @@ static const char *gsb_replace_tpath(apr_pool_t *pool, const char *domain, int l
url = apr_palloc(pool, len + 1);
data = apr_palloc(pool, len + 1);
memset(data, 0, len+1);
memset(url, 0, len+1);
data[0] = '\0';
memcpy(url, domain, len);
url[len] = 0;
while(( pos = strstr(url , "/./" )) != NULL) {
match = 1;