Ver código fonte

Removed strip_real_escape_string from content being written to file via litefm file module - breaks python spacing and creates other problems (#635)

OwN-3m-All 1 ano atrás
pai
commit
6ac37775d9
1 arquivos alterados com 0 adições e 2 exclusões
  1. 0 2
      modules/litefm/fm_write.php

+ 0 - 2
modules/litefm/fm_write.php

@@ -57,8 +57,6 @@ function exec_ogp_module()
 
 	if ( isset($_REQUEST['save_file']) )
 	{
-		$_REQUEST['file_content'] = strip_real_escape_string($_REQUEST['file_content']);
-
 		$remote = new OGPRemoteLibrary($home_cfg['agent_ip'], $home_cfg['agent_port'], $home_cfg['encryption_key'], $home_cfg['timeout']);
 		$file_info = $remote->remote_writefile($home_cfg['home_path']."/".$_SESSION['fm_cwd_'.$home_id], $_REQUEST['file_content']);
 		if ( $file_info === 1 )