Am Tue, 14 Oct 2003 18:20:29 +0000 schrieb Stas Bekman: > Udo Rader wrote: >> hi, >> >> we have some troubles with internal_redirect after upgrading to 1.99_10, here's >> what we try to do: >> >> before mp 1.99_09 this line used to work: >> >> -------CUT------- >> $r->internal_redirect( $r->uri ); >> -------CUT------- >> >> after upgrading to 1.99_10, we get the following in error_log: >> -------CUT------- >> [Fri Oct 10 18:34:13 2003] [error] [client 213.47.198.91] $r wasn't passed at >> /usr/bestsolution/httpd/mod_perl/BestApache/DiscussionBoard2/Save.pm line 45. >> -------CUT------- > [...] >> ... did we miss something or is this a bug? > > Thanks Udo. it's a bug. we didn't have a test for internal_redirect, I'm now > adding one and can reproduce the problem you have reported. the major change > in 1.99_10 was a move to perlio from tied handlers where perlio is available. > I'll keep you posted. > > Meanwhile another workaround is to use 'SetHandler modperl' and $r->print(), > etc in the code, which won't involve perlio. > > p.s. in the future bug reports please consider posting complete short test > handlers/scripts to save us time trying to reproduce the problem. Thanks.
Sorry for not having provided a testcase, it seemed obvious to me(tm). I will provide one next time :-) happy hacking udo -- "Well, if we were to build it idiot proof, someone would build a better idiot." Civilme