Hello *
I've made a Bugfix in mod_backhand.c (Release 1.1.0).
We're using Backhand with the "RedirectToIP" Option, but with the
Redirection Backhand "forgot" the Querystring (URL encoded CGI Params) in the
Location Header / Redirection URL.
Insert the following few Lines in mod_backhand.c after Line #549 to fix
this Bug (or is it a "Feature" ? :=)
--- snip ---
...
} else {
const char *rhost = ap_table_get(r->notes,
"Backhand-Redirect-Host");
if(!rhost) rhost=serverstats[remote_machine.id].hostname;
ap_snprintf(buffer, RBUFLEN, "http://%s%s%s", rhost, portstring,
r->filename);
}
/* BUGFIXING */
if ( r->args != NULL ) /* If we've get a Query String */
{
ap_snprintf(buffer, RBUFLEN, "%s?%s",
buffer, r->args);
}
--- snip ---
Best Reguard
Juergen Brunk
juergen.brunk@gmx.de
--
Sent through GMX FreeMail - http://www.gmx.net
I've made a Bugfix in mod_backhand.c (Release 1.1.0).
We're using Backhand with the "RedirectToIP" Option, but with the
Redirection Backhand "forgot" the Querystring (URL encoded CGI Params) in the
Location Header / Redirection URL.
Insert the following few Lines in mod_backhand.c after Line #549 to fix
this Bug (or is it a "Feature" ? :=)
--- snip ---
...
} else {
const char *rhost = ap_table_get(r->notes,
"Backhand-Redirect-Host");
if(!rhost) rhost=serverstats[remote_machine.id].hostname;
ap_snprintf(buffer, RBUFLEN, "http://%s%s%s", rhost, portstring,
r->filename);
}
/* BUGFIXING */
if ( r->args != NULL ) /* If we've get a Query String */
{
ap_snprintf(buffer, RBUFLEN, "%s?%s",
buffer, r->args);
}
--- snip ---
Best Reguard
Juergen Brunk
juergen.brunk@gmx.de
--
Sent through GMX FreeMail - http://www.gmx.net