mirror of
				https://git.code.sf.net/p/seeddms/code
				synced 2025-10-31 13:18:06 +00:00 
			
		
		
		
	add '-' to allowed char in mimetype
This commit is contained in:
		
							parent
							
								
									98cf6c65df
								
							
						
					
					
						commit
						b8a7917c12
					
				|  | @ -182,7 +182,7 @@ if ($action == "saveSettings") | |||
| 
 | ||||
|   // SETTINGS - ADVANCED - INDEX CMD
 | ||||
| 	$settings->_converters['fulltext'] = $_POST["converters"]; | ||||
| 	$newmimetype = preg_replace('#[^A-Za-z0-9_/+.]+#', '', $_POST["converters_newmimetype"]); | ||||
| 	$newmimetype = preg_replace('#[^A-Za-z0-9_/+.-]+#', '', $_POST["converters_newmimetype"]); | ||||
|   if($newmimetype && trim($_POST["converters_newcmd"])) { | ||||
|     $settings->_converters['fulltext'][$newmimetype] = trim($_POST["converters_newcmd"]); | ||||
|   } | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Uwe Steinmann
						Uwe Steinmann