Ticket #1206: mod_proxy_core.patch
| File mod_proxy_core.patch, 0.6 kB (added by rush@…, 12 months ago) |
|---|
-
src/mod_proxy_core.c
old new 1300 1300 1301 1301 /* check if we want to rewrite the uri */ 1302 1302 #ifdef HAVE_PCRE_H 1303 buffer_copy_string_buffer(sess->request_uri, con->request.uri); 1304 1303 1305 for (i = 0; i < p->conf.request_rewrites->used; i++) { 1304 1306 proxy_rewrite *rw = p->conf.request_rewrites->ptr[i]; 1305 1307 … … 1374 1376 1375 1377 } 1376 1378 } 1377 1378 if (i == p->conf.request_rewrites->used) {1379 buffer_copy_string_buffer(sess->request_uri, con->request.uri);1380 }1381 1379 #else 1382 1380 buffer_copy_string_buffer(sess->request_uri, con->request.uri); 1383 1381 #endif

