You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2005/12/19 05:41:49 UTC
DO NOT REPLY [Bug 17629] - filter handling issues with subrequests and internal redirects
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=17629>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=17629
------- Additional Comments From nksurvive@126.com 2005-12-19 05:41 -------
hello,something bother me about virtual function.
example:
main.php
<?
echo "before virtual";
$res="KKKKKKKKKK";
request($res);
$res.="EEEEEEEEEE";
echo $res;
function request(&$res)
{
$res.="----------header---------\n";
virtual("myfunc.php");
$res.="-----------footer------\n";
echo "xxxxxxxxx".$res ."yyyyyyyyy";
}
?>
myfunc.php:
<?
echo "in my func";
myfunc();
exit();//look here. #1
function myfunc()
{
echo "in sub func";
//exit(); //look here #2
}
?>
different place of exit function got different response.
#1:
before virtualin my funcin sub funcxxxxxxxxxKKKKKKKKKK----------header---------
-----------footer------ yyyyyyyyyKKKKKKKKKK----------header--------- ----------
-footer------ EEEEEEEEEE
#2:
before virtualin my funcin sub funcxxxxxxxxx-----------footer------
yyyyyyyyyKKKKKKKKKK----------header--------- EEEEEEEEEE
I think, #1 and #2 should gave the same response.Is there anything wrong?
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org