diff options
| author | spider@app2 <spiderr@bitweaver.org> | 2017-09-22 21:14:28 -0400 |
|---|---|---|
| committer | spider@app2 <spiderr@bitweaver.org> | 2017-09-22 21:14:28 -0400 |
| commit | 2fa7b35c665fa6dec7854ba40889a73538f4090a (patch) | |
| tree | 72c930675b344f7f1049cda32896f58c7c717d3d | |
| parent | bccb13134c9ab41616893c56c30750ec5aec4af5 (diff) | |
| download | wiki-2fa7b35c665fa6dec7854ba40889a73538f4090a.tar.gz wiki-2fa7b35c665fa6dec7854ba40889a73538f4090a.tar.bz2 wiki-2fa7b35c665fa6dec7854ba40889a73538f4090a.zip | |
X-XSS-Protection: 0 for preview
| -rw-r--r-- | edit.php | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -201,6 +201,8 @@ if( isset( $_REQUEST['format_guid'] ) && !isset( $gContent->mInfo['format_guid'] } if( isset( $_REQUEST["preview"] ) ) { + // Chrome does not like seeing the page source in the page itself. + header("X-XSS-Protection: 0"); $gBitSmarty->assign( 'preview',1 ); $gBitSmarty->assign( 'title',!empty( $_REQUEST["title"] ) ? $_REQUEST["title"]:$gContent->mPageName ); |
