Project

General

Profile

« Previous | Next » 

Revision 47

Added by stefan about 19 years ago

Added htmlspecialchars when saving intro page

View differences:

intro2.php
1 1
<?php
2 2

  
3
// $Id: intro2.php,v 1.7 2005/04/02 06:25:37 rdjurovich Exp $
3
// $Id$
4 4

  
5 5
/*
6 6

  
......
27 27
if(!isset($_POST['content'])) {
28 28
	header("Location: intro.php");
29 29
} else {
30
	$content = $_POST['content'];
30
	$content = htmlspecialchars($_POST['content']);
31 31
}
32 32

  
33 33
// Create new admin object
......
57 57
// Print admin footer
58 58
$admin->print_footer();
59 59

  
60
?>
60
?>

Also available in: Unified diff