Project

General

Profile

Bug #1898 ยป lighttpd-1.5-use-cooked-uri-in-redirect.diff

peto, 2009-02-12 05:34

View differences:

mod_redirect.c (working copy)
186 186

  
187 187
	mod_redirect_patch_connection(srv, con, p);
188 188

  
189
	buffer_copy_string_buffer(p->match_buf, con->request.uri);
189
	buffer_copy_string_buffer(p->match_buf, con->uri.path);
190 190
	i = config_exec_pcre_keyvalue_buffer(con, p->conf.redirect, p->conf.context, p->match_buf, p->location);
191 191

  
192 192
	if (i >= 0) {
    (1-1/1)