mirror of
				https://github.com/librenms/librenms.git
				synced 2024-10-07 16:52:45 +00:00 
			
		
		
		
	security: Fix some reported security issues (#4807)
This commit is contained in:
		| @@ -7,7 +7,7 @@ foreach ($_GET as $key => $get_var) { | ||||
|             $value = 'yes'; | ||||
|         } | ||||
|  | ||||
|         $vars[$name] = $value; | ||||
|         $vars[$name] = clean($value); | ||||
|     } | ||||
| } | ||||
|  | ||||
| @@ -34,9 +34,9 @@ foreach ($segments as $pos => $segment) { | ||||
| } | ||||
|  | ||||
| foreach ($_GET as $name => $value) { | ||||
|     $vars[$name] = $value; | ||||
|     $vars[$name] = clean($value); | ||||
| } | ||||
|  | ||||
| foreach ($_POST as $name => $value) { | ||||
|     $vars[$name] = $value; | ||||
|     $vars[$name] = clean($value); | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user