Project

General

Profile

« Previous | Next » 

Revision b3cbb077

Added by Renato Botelho over 11 years ago

Fix some wrong escapeshellarg() calls

Conflicts:
etc/inc/filter_log.inc
etc/inc/pkg-utils.inc

View differences:

usr/local/www/diag_smart.php
85 85
	if(!empty($email))
86 86
	{
87 87
		// Put it in the smartd.conf file
88
		shell_exec("/usr/bin/sed -i old 's/^DEVICESCAN.*/DEVICESCAN -H -m " . escapeshellarg($email) . "/' /usr/local/etc/smartd.conf");
88
		shell_exec("/usr/bin/sed -i old 's/^DEVICESCAN.*/DEVICESCAN -H -m " . $email . "/' /usr/local/etc/smartd.conf");
89 89
	}
90 90
	// Nope
91 91
	else

Also available in: Unified diff