Changeset 310
- Timestamp:
- 2007-05-18 23:42:43 (3 years ago)
- Location:
- FCKeditor/trunk
- Files:
-
- 11 modified
-
editor/filemanager/browser/default/connectors/asp/config.asp (modified) (1 diff)
-
editor/filemanager/browser/default/connectors/cfm/config.cfm (modified) (1 diff)
-
editor/filemanager/browser/default/connectors/lasso/config.lasso (modified) (1 diff)
-
editor/filemanager/browser/default/connectors/php/config.php (modified) (1 diff)
-
editor/filemanager/browser/default/connectors/py/connector.py (modified) (1 diff)
-
editor/filemanager/upload/asp/config.asp (modified) (1 diff)
-
editor/filemanager/upload/cfm/config.cfm (modified) (1 diff)
-
editor/filemanager/upload/lasso/config.lasso (modified) (1 diff)
-
editor/filemanager/upload/php/config.php (modified) (1 diff)
-
fckconfig.js (modified) (1 diff)
-
_whatsnew.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor/trunk/editor/filemanager/browser/default/connectors/asp/config.asp
r132 r310 36 36 37 37 ConfigAllowedExtensions.Add "File", "" 38 ConfigDeniedExtensions.Add "File", "html|htm|php|php2|php3|php4|php5|phtml|pwml|inc|asp|aspx|ascx|jsp|cfm|cfc|pl|bat|exe|com|dll|vbs|js|reg|cgi|htaccess|asis "38 ConfigDeniedExtensions.Add "File", "html|htm|php|php2|php3|php4|php5|phtml|pwml|inc|asp|aspx|ascx|jsp|cfm|cfc|pl|bat|exe|com|dll|vbs|js|reg|cgi|htaccess|asis|sh|shtml|shtm|phtm" 39 39 40 40 ConfigAllowedExtensions.Add "Image", "jpg|gif|jpeg|png|bmp" -
FCKeditor/trunk/editor/filemanager/browser/default/connectors/cfm/config.cfm
r132 r310 35 35 // config.allowedExtensions["File"] = "doc,rtf,pdf,ppt,pps,xls,csv,vnd,zip"; 36 36 config.allowedExtensions["File"] = ""; 37 config.deniedExtensions["File"] = "html,htm,php,php2,php3,php4,php5,phtml,pwml,inc,asp,aspx,ascx,jsp,cfm,cfc,pl,bat,exe,com,dll,vbs,js,reg,cgi,htaccess,asis ";37 config.deniedExtensions["File"] = "html,htm,php,php2,php3,php4,php5,phtml,pwml,inc,asp,aspx,ascx,jsp,cfm,cfc,pl,bat,exe,com,dll,vbs,js,reg,cgi,htaccess,asis,sh,shtml,shtm,phtm"; 38 38 39 39 config.allowedExtensions["Image"] = "png,gif,jpg,jpeg,bmp"; -
FCKeditor/trunk/editor/filemanager/browser/default/connectors/lasso/config.lasso
r132 r310 57 57 ), 58 58 'DeniedExtensions' = map( 59 'File' = array('html','htm','php','php2','php3','php4','php5','phtml','pwml','inc','asp','aspx','ascx','jsp','cfm','cfc','pl','bat','exe','com','dll','vbs','js','reg','cgi','lasso','lassoapp','htaccess','asis' ),59 'File' = array('html','htm','php','php2','php3','php4','php5','phtml','pwml','inc','asp','aspx','ascx','jsp','cfm','cfc','pl','bat','exe','com','dll','vbs','js','reg','cgi','lasso','lassoapp','htaccess','asis','sh','shtml','shtm','phtm'), 60 60 'Image' = array(), 61 61 'Flash' = array(), -
FCKeditor/trunk/editor/filemanager/browser/default/connectors/php/config.php
r183 r310 47 47 48 48 $Config['AllowedExtensions']['File'] = array() ; 49 $Config['DeniedExtensions']['File'] = array('html','htm','php','php2','php3','php4','php5','phtml','pwml','inc','asp','aspx','ascx','jsp','cfm','cfc','pl','bat','exe','com','dll','vbs','js','reg','cgi','htaccess','asis' ) ;49 $Config['DeniedExtensions']['File'] = array('html','htm','php','php2','php3','php4','php5','phtml','pwml','inc','asp','aspx','ascx','jsp','cfm','cfc','pl','bat','exe','com','dll','vbs','js','reg','cgi','htaccess','asis','sh','shtml','shtm','phtm') ; 50 50 51 51 $Config['AllowedExtensions']['Image'] = array('jpg','gif','jpeg','png') ; -
FCKeditor/trunk/editor/filemanager/browser/default/connectors/py/connector.py
r132 r310 178 178 } 179 179 self.deniedExtensions = { 180 "File": [ "html","htm","php","php2","php3","php4","php5","phtml","pwml","inc","asp","aspx","ascx","jsp","cfm","cfc","pl","bat","exe","com","dll","vbs","js","reg","cgi","htaccess","asis" ],181 "Image": [ "html","htm","php","php2","php3","php4","php5","phtml","pwml","inc","asp","aspx","ascx","jsp","cfm","cfc","pl","bat","exe","com","dll","vbs","js","reg","cgi","htaccess","asis" ],182 "Flash": [ "html","htm","php","php2","php3","php4","php5","phtml","pwml","inc","asp","aspx","ascx","jsp","cfm","cfc","pl","bat","exe","com","dll","vbs","js","reg","cgi","htaccess","asis" ],183 "Media": [ "html","htm","php","php2","php3","php4","php5","phtml","pwml","inc","asp","aspx","ascx","jsp","cfm","cfc","pl","bat","exe","com","dll","vbs","js","reg","cgi","htaccess","asis" ]180 "File": [ "html","htm","php","php2","php3","php4","php5","phtml","pwml","inc","asp","aspx","ascx","jsp","cfm","cfc","pl","bat","exe","com","dll","vbs","js","reg","cgi","htaccess","asis","sh","shtml","shtm","phtm" ], 181 "Image": [ "html","htm","php","php2","php3","php4","php5","phtml","pwml","inc","asp","aspx","ascx","jsp","cfm","cfc","pl","bat","exe","com","dll","vbs","js","reg","cgi","htaccess","asis","sh","shtml","shtm","phtm" ], 182 "Flash": [ "html","htm","php","php2","php3","php4","php5","phtml","pwml","inc","asp","aspx","ascx","jsp","cfm","cfc","pl","bat","exe","com","dll","vbs","js","reg","cgi","htaccess","asis","sh","shtml","shtm","phtm" ], 183 "Media": [ "html","htm","php","php2","php3","php4","php5","phtml","pwml","inc","asp","aspx","ascx","jsp","cfm","cfc","pl","bat","exe","com","dll","vbs","js","reg","cgi","htaccess","asis","sh","shtml","shtm","phtm" ] 184 184 } 185 185 -
FCKeditor/trunk/editor/filemanager/upload/asp/config.asp
r132 r310 42 42 43 43 ConfigAllowedExtensions.Add "File", "" 44 ConfigDeniedExtensions.Add "File", "html|htm|php|php2|php3|php4|php5|phtml|pwml|inc|asp|aspx|ascx|jsp|cfm|cfc|pl|bat|exe|com|dll|vbs|js|reg|cgi|htaccess|asis "44 ConfigDeniedExtensions.Add "File", "html|htm|php|php2|php3|php4|php5|phtml|pwml|inc|asp|aspx|ascx|jsp|cfm|cfc|pl|bat|exe|com|dll|vbs|js|reg|cgi|htaccess|asis|sh|shtml|shtm|phtm" 45 45 46 46 ConfigAllowedExtensions.Add "Image", "jpg|gif|jpeg|png|bmp" -
FCKeditor/trunk/editor/filemanager/upload/cfm/config.cfm
r132 r310 37 37 38 38 config.allowedExtensions["File"] = ""; 39 config.deniedExtensions["File"] = "html,htm,php,php2,php3,php4,php5,phtml,pwml,inc,asp,aspx,ascx,jsp,cfm,cfc,pl,bat,exe,com,dll,vbs,js,reg,cgi,htaccess,asis ";39 config.deniedExtensions["File"] = "html,htm,php,php2,php3,php4,php5,phtml,pwml,inc,asp,aspx,ascx,jsp,cfm,cfc,pl,bat,exe,com,dll,vbs,js,reg,cgi,htaccess,asis,sh,shtml,shtm,phtm"; 40 40 41 41 config.allowedExtensions["Image"] = "png,gif,jpg,jpeg,bmp"; -
FCKeditor/trunk/editor/filemanager/upload/lasso/config.lasso
r132 r310 57 57 ), 58 58 'DeniedExtensions' = map( 59 'File' = array('html','htm','php','php2','php3','php4','php5','phtml','pwml','inc','asp','aspx','ascx','jsp','cfm','cfc','pl','bat','exe','com','dll','vbs','js','reg','cgi','lasso','lassoapp','htaccess','asis' ),59 'File' = array('html','htm','php','php2','php3','php4','php5','phtml','pwml','inc','asp','aspx','ascx','jsp','cfm','cfc','pl','bat','exe','com','dll','vbs','js','reg','cgi','lasso','lassoapp','htaccess','asis','sh','shtml','shtm','phtm'), 60 60 'Image' = array(), 61 61 'Flash' = array(), -
FCKeditor/trunk/editor/filemanager/upload/php/config.php
r132 r310 46 46 47 47 $Config['AllowedExtensions']['File'] = array() ; 48 $Config['DeniedExtensions']['File'] = array('html','htm','php','php2','php3','php4','php5','phtml','pwml','inc','asp','aspx','ascx','jsp','cfm','cfc','pl','bat','exe','com','dll','vbs','js','reg','cgi','htaccess','asis' ) ;48 $Config['DeniedExtensions']['File'] = array('html','htm','php','php2','php3','php4','php5','phtml','pwml','inc','asp','aspx','ascx','jsp','cfm','cfc','pl','bat','exe','com','dll','vbs','js','reg','cgi','htaccess','asis','sh','shtml','shtm','phtm') ; 49 49 50 50 $Config['AllowedExtensions']['Image'] = array('jpg','gif','jpeg','png') ; -
FCKeditor/trunk/fckconfig.js
r255 r310 213 213 FCKConfig.LinkUploadURL = FCKConfig.BasePath + 'filemanager/upload/' + _QuickUploadLanguage + '/upload.' + _QuickUploadLanguage ; 214 214 FCKConfig.LinkUploadAllowedExtensions = "" ; // empty for all 215 FCKConfig.LinkUploadDeniedExtensions = ".(html|htm|php|php2|php3|php4|php5|phtml|pwml|inc|asp|aspx|ascx|jsp|cfm|cfc|pl|bat|exe|com|dll|vbs|js|reg|cgi|htaccess|asis )$" ; // empty for no one215 FCKConfig.LinkUploadDeniedExtensions = ".(html|htm|php|php2|php3|php4|php5|phtml|pwml|inc|asp|aspx|ascx|jsp|cfm|cfc|pl|bat|exe|com|dll|vbs|js|reg|cgi|htaccess|asis|sh|shtml|shtm|phtm)$" ; // empty for no one 216 216 217 217 FCKConfig.ImageUpload = true ; -
FCKeditor/trunk/_whatsnew.html
r309 r310 91 91 not create invalid nested block elements, like creating <form> or <hr> 92 92 inside <p>.</li> 93 <li>>[<a target="_blank" href="http://dev.fckeditor.net/ticket/273">#273</a>] The extensions 94 "sh", "shtml", "shtm" and "phtm" have been added to the list of denied extensions on 95 upload.</li> 93 96 </ul> 94 97 <h3>