mirror of
https://github.com/php/php-src.git
synced 2024-12-02 06:13:40 +08:00
Call ob_flush to force the buffer contents to go through the rewriter.
This commit is contained in:
parent
cee4219e49
commit
8ca10fb5e8
@ -18,6 +18,8 @@ session_start();
|
||||
<fieldset>
|
||||
<?php
|
||||
|
||||
ob_flush();
|
||||
|
||||
ini_set("url_rewriter.tags", "a=href,area=href,frame=src,input=src,form=");
|
||||
|
||||
?>
|
||||
@ -25,6 +27,8 @@ ini_set("url_rewriter.tags", "a=href,area=href,frame=src,input=src,form=");
|
||||
<fieldset>
|
||||
<?php
|
||||
|
||||
ob_flush();
|
||||
|
||||
ini_set("url_rewriter.tags", "a=href,area=href,frame=src,input=src,form=fakeentry");
|
||||
|
||||
?>
|
||||
@ -32,12 +36,15 @@ ini_set("url_rewriter.tags", "a=href,area=href,frame=src,input=src,form=fakeentr
|
||||
<fieldset>
|
||||
<?php
|
||||
|
||||
ob_flush();
|
||||
|
||||
ini_set("url_rewriter.tags", "a=href,fieldset=,area=href,frame=src,input=src");
|
||||
|
||||
?>
|
||||
<form>
|
||||
<fieldset>
|
||||
<?php
|
||||
|
||||
session_destroy();
|
||||
?>
|
||||
--EXPECT--
|
||||
|
Loading…
Reference in New Issue
Block a user