Archived
1
0

xinha security issue, temporarily disabled all PHP plugins

This commit is contained in:
Garvin Hicking
2010-12-21 19:46:29 +00:00
parent e46563693c
commit 429f9aff34
11 changed files with 11 additions and 25 deletions
@@ -1,4 +1,5 @@
<?php
die('disabled in s9y');
/**
* ExtendedFileManager configuration file.
* Authors: Wei Zhuo, Afru
+1 -1
View File
@@ -1,5 +1,5 @@
<?php
die('disabled in s9y');
$send_to = 'Website Enquiries <enquiries@' . preg_replace('/^www./', '', $_SERVER['HTTP_HOST']) . '>';
$emailfield = NULL;
@@ -1,4 +1,6 @@
<?php
die('disabled in s9y');
##
## Plugin for htmlArea, to run code through the server's HTML Tidy
## By Adam Wright, for The University of Western Australia
@@ -1,4 +1,5 @@
<?php
die('disabled in s9y');
/**
* Image Manager configuration file.
* @author $Author:gogo $
@@ -1,4 +1,5 @@
<?PHP
die('disabled in s9y');
//this plugin only use the relativ webpath to the picturefolder
//default ~ /Xinha/plugins/InsertPicture/demo_pictures/
strstr( PHP_OS, "WIN") ? $strPathSeparator = "\\" : $strPathSeparator = "/";
@@ -1,4 +1,5 @@
<?php
die('disabled in s9y');
$snippets_file = 'snippets.html';
include_once('../../contrib/php-xinha.php');
@@ -4,7 +4,7 @@
// 2005-08-17 YmL:
// . security fix on unchecked variables. Original author missed quite a few
// holes.
die('disabled in s9y');
umask(000);
$temptext = tempnam('/tmp', 'spell_');
if ((!isset($_POST['dictionary'])) || (strlen(trim($_POST['dictionary'])) < 1))
@@ -1,4 +1,5 @@
<?php
die('disabled in s9y');
$text = stripslashes($_POST['content']);
// Convert UTF-8 multi-bytes into decimal character entities. This is because
+1
View File
@@ -1,4 +1,5 @@
<?php
die('disabled in s9y');
/** This PHP file is intended for use with XMLHTTPRequest from Xinha
* it requrns javascript to set the Xinha html with tidied html that is
* submitted in a $_POST parameter called 'content'