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.
Now fixed in cvs. Please verify that it works for you. The new test pair
t/api/internal_redirect.t t/response/TestAPI/internal_redirect.pm does the testing of this API.
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 :-)
Sure, even if obvious it just saves us time, so we don't have to think of an example but simply re-use one from the bug report ...
p.s. Udo, do you mind not to CC the perl.mod_perl newsgroup when you ask questions here? Each time I reply to you I have to remember to remove it, since my mozilla-mail client has no clue what is that newsgroup and won't sent the email before I remove it. Thank you.
__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com