Changeset 1041
- Timestamp:
- 2007-10-19 10:59:07 (2 years ago)
- Location:
- FCKeditor/trunk
- Files:
-
- 6 modified
-
editor/filemanager/connectors/asp/config.asp (modified) (7 diffs)
-
editor/filemanager/connectors/cfm/config.cfm (modified) (4 diffs)
-
editor/filemanager/connectors/lasso/config.lasso (modified) (1 diff)
-
editor/filemanager/connectors/php/config.php (modified) (8 diffs)
-
editor/filemanager/connectors/py/config.py (modified) (10 diffs)
-
fckconfig.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor/trunk/editor/filemanager/connectors/asp/config.asp
r975 r1041 23 23 <% 24 24 25 ' SECURITY: You must explicit elly enable this "connector" (set it to "True").25 ' SECURITY: You must explicitly enable this "connector" (set it to "True"). 26 26 ' WARNING: don't just set "ConfigIsEnabled = true", you must be sure that only 27 27 ' authenticated users can access this file or use some kind of session checking. … … 35 35 ConfigUserFilesPath = "/userfiles/" 36 36 37 ' Due to security issues with Apache modules, it is rec comended to leave the37 ' Due to security issues with Apache modules, it is recommended to leave the 38 38 ' following setting enabled. 39 39 Dim ConfigForceSingleExtension … … 61 61 ' If it is empty then no restrictions are done here. 62 62 ' 63 ' For a file to be uploaded it has to ful lfil both the AllowedExtensions63 ' For a file to be uploaded it has to fulfill both the AllowedExtensions 64 64 ' and DeniedExtensions (that's it: not being denied) conditions. 65 65 ' … … 71 71 ' an absolute path. 72 72 ' If it's an empty string then it will be autocalculated. 73 ' Useful lif you are using a virtual directory, symbolic link or alias.73 ' Useful if you are using a virtual directory, symbolic link or alias. 74 74 ' Examples: 'C:\\MySite\\userfiles\\' or '/root/mysite/userfiles/'. 75 75 ' Attention: The above 'FileTypesPath' must point to the same directory. … … 84 84 ' an absolute path. 85 85 ' If it's an empty string then it will be autocalculated. 86 ' Useful lif you are using a virtual directory, symbolic link or alias.86 ' Useful if you are using a virtual directory, symbolic link or alias. 87 87 ' Examples: 'C:\\MySite\\userfiles\\' or '/root/mysite/userfiles/'. 88 88 ' Attention: The above 'QuickUploadPath' must point to the same directory. … … 105 105 ConfigQuickUploadAbsolutePath.Add "File", "" 106 106 107 ConfigAllowedExtensions.Add "Image", "bmp|gif|jpeg|jpg|png |psd|tif|tiff"107 ConfigAllowedExtensions.Add "Image", "bmp|gif|jpeg|jpg|png" 108 108 ConfigDeniedExtensions.Add "Image", "" 109 109 ConfigFileTypesPath.Add "Image", ConfigUserFilesPath & "image/" … … 112 112 ConfigQuickUploadAbsolutePath.Add "Image", "" 113 113 114 ConfigAllowedExtensions.Add "Flash", "swf|fl a"114 ConfigAllowedExtensions.Add "Flash", "swf|flv" 115 115 ConfigDeniedExtensions.Add "Flash", "" 116 116 ConfigFileTypesPath.Add "Flash", ConfigUserFilesPath & "flash/" -
FCKeditor/trunk/editor/filemanager/connectors/cfm/config.cfm
r975 r1041 38 38 Config.ServerPath = "" ; 39 39 40 // Due to security issues with Apache modules, it is rec comended to leave the40 // Due to security issues with Apache modules, it is recommended to leave the 41 41 // following setting enabled. 42 42 Config.ForceSingleExtension = true ; … … 65 65 // If it is empty then no restrictions are done here. 66 66 // 67 // For a file to be uploaded it has to ful lfil both the AllowedExtensions67 // For a file to be uploaded it has to fulfill both the AllowedExtensions 68 68 // and DeniedExtensions (that's it: not being denied) conditions. 69 69 // … … 108 108 Config.QuickUploadAbsolutePath["File"] = Config.FileTypesAbsolutePath["File"] ; 109 109 110 Config.AllowedExtensions["Image"] = "bmp,gif,jpeg,jpg,png ,psd,tif,tiff" ;110 Config.AllowedExtensions["Image"] = "bmp,gif,jpeg,jpg,png" ; 111 111 Config.DeniedExtensions["Image"] = "" ; 112 112 Config.FileTypesPath["Image"] = Config.UserFilesPath & 'image/' ; … … 115 115 Config.QuickUploadAbsolutePath["Image"] = Config.FileTypesAbsolutePath["Image"] ; 116 116 117 Config.AllowedExtensions["Flash"] = "swf,fl a" ;117 Config.AllowedExtensions["Flash"] = "swf,flv" ; 118 118 Config.DeniedExtensions["Flash"] = "" ; 119 119 Config.FileTypesPath["Flash"] = Config.UserFilesPath & 'flash/' ; -
FCKeditor/trunk/editor/filemanager/connectors/lasso/config.lasso
r975 r1041 52 52 'AllowedExtensions' = map( 53 53 'File' = array('7z','aiff','asf','avi','bmp','csv','doc','fla','flv','gif','gz','gzip','jpeg','jpg','mid','mov','mp3','mp4','mpc','mpeg','mpg','ods','odt','pdf','png','ppt','pxd','qt','ram','rar','rm','rmi','rmvb','rtf','sdc','sitd','swf','sxc','sxw','tar','tgz','tif','tiff','txt','vsd','wav','wma','wmv','xls','xml','zip'), 54 'Image' = array('bmp','gif','jpeg','jpg','png' ,'psd','tif','tiff'),55 'Flash' = array('swf','fl a'),54 'Image' = array('bmp','gif','jpeg','jpg','png'), 55 'Flash' = array('swf','flv'), 56 56 'Media' = array('aiff','asf','avi','bmp','fla','flv','gif','jpeg','jpg','mid','mov','mp3','mp4','mpc','mpeg','mpg','png','qt','ram','rm','rmi','rmvb','swf','tif','tiff','wav','wma','wmv') 57 57 ), -
FCKeditor/trunk/editor/filemanager/connectors/php/config.php
r1027 r1041 25 25 global $Config ; 26 26 27 // SECURITY: You must explicit elly enable this "connector". (Set it to "true").27 // SECURITY: You must explicitly enable this "connector". (Set it to "true"). 28 28 // WARNING: don't just set "ConfigIsEnabled = true", you must be sure that only 29 29 // authenticated users can access this file or use some kind of session checking. … … 39 39 40 40 // Fill the following value it you prefer to specify the absolute path for the 41 // user files directory. Useful lif you are using a virtual directory, symbolic41 // user files directory. Useful if you are using a virtual directory, symbolic 42 42 // link or alias. Examples: 'C:\\MySite\\userfiles\\' or '/root/mysite/userfiles/'. 43 43 // Attention: The above 'UserFilesPath' must point to the same directory. 44 44 $Config['UserFilesAbsolutePath'] = '' ; 45 45 46 // Due to security issues with Apache modules, it is rec comended to leave the46 // Due to security issues with Apache modules, it is recommended to leave the 47 47 // following setting enabled. 48 48 $Config['ForceSingleExtension'] = true ; … … 70 70 If it is empty then no restrictions are done here. 71 71 72 For a file to be uploaded it has to ful lfil both the AllowedExtensions72 For a file to be uploaded it has to fulfill both the AllowedExtensions 73 73 and DeniedExtensions (that's it: not being denied) conditions. 74 74 … … 80 80 an absolute path. 81 81 If it's an empty string then it will be autocalculated. 82 Useful lif you are using a virtual directory, symbolic link or alias.82 Useful if you are using a virtual directory, symbolic link or alias. 83 83 Examples: 'C:\\MySite\\userfiles\\' or '/root/mysite/userfiles/'. 84 84 Attention: The above 'FileTypesPath' must point to the same directory. … … 93 93 an absolute path. 94 94 If it's an empty string then it will be autocalculated. 95 Useful lif you are using a virtual directory, symbolic link or alias.95 Useful if you are using a virtual directory, symbolic link or alias. 96 96 Examples: 'C:\\MySite\\userfiles\\' or '/root/mysite/userfiles/'. 97 97 Attention: The above 'QuickUploadPath' must point to the same directory. … … 101 101 "userfiles" directory to maintain backwards compatibility with older versions of FCKeditor. 102 102 This is fine, but you in some cases you will be not able to browse uploaded files using file browser. 103 Example: if you cli k on "image button", select "Upload" tab and send image103 Example: if you click on "image button", select "Upload" tab and send image 104 104 to the server, image will appear in FCKeditor correctly, but because it is placed 105 105 directly in /userfiles/ directory, you'll be not able to see it in built-in file browser. … … 121 121 $Config['QuickUploadAbsolutePath']['File']= $Config['UserFilesAbsolutePath'] ; 122 122 123 $Config['AllowedExtensions']['Image'] = array('bmp','gif','jpeg','jpg','png' ,'psd','tif','tiff') ;123 $Config['AllowedExtensions']['Image'] = array('bmp','gif','jpeg','jpg','png') ; 124 124 $Config['DeniedExtensions']['Image'] = array() ; 125 125 $Config['FileTypesPath']['Image'] = $Config['UserFilesPath'] . 'image/' ; … … 128 128 $Config['QuickUploadAbsolutePath']['Image']= $Config['UserFilesAbsolutePath'] ; 129 129 130 $Config['AllowedExtensions']['Flash'] = array('swf','fl a') ;130 $Config['AllowedExtensions']['Flash'] = array('swf','flv') ; 131 131 $Config['DeniedExtensions']['Flash'] = array() ; 132 132 $Config['FileTypesPath']['Flash'] = $Config['UserFilesPath'] . 'flash/' ; -
FCKeditor/trunk/editor/filemanager/connectors/py/config.py
r975 r1041 23 23 """ 24 24 25 # INSTALLATION NOTE: You must set up your server enviro ment accordingly to run25 # INSTALLATION NOTE: You must set up your server environment accordingly to run 26 26 # python scripts. This connector requires Python 2.4 or greater. 27 27 # … … 29 29 # * WSGI (recommended): You'll need apache + mod_python + modpython_gateway 30 30 # or any web server capable of the WSGI python standard 31 # * Plain Old CGI: Any server capable of running standar td python scripts31 # * Plain Old CGI: Any server capable of running standard python scripts 32 32 # (although mod_python is recommended for performance) 33 33 # This was the previous connector version operation mode … … 40 40 41 41 42 # SECURITY: You must explicit elly enable this "connector". (Set it to "True").42 # SECURITY: You must explicitly enable this "connector". (Set it to "True"). 43 43 # WARNING: don't just set "ConfigIsEnabled = True", you must be sure that only 44 44 # authenticated users can access this file or use some kind of session checking. … … 49 49 50 50 # Fill the following value it you prefer to specify the absolute path for the 51 # user files directory. Useful lif you are using a virtual directory, symbolic51 # user files directory. Useful if you are using a virtual directory, symbolic 52 52 # link or alias. Examples: 'C:\\MySite\\userfiles\\' or '/root/mysite/userfiles/'. 53 53 # Attention: The above 'UserFilesPath' must point to the same directory. … … 56 56 UserFilesAbsolutePath = '' 57 57 58 # Due to security issues with Apache modules, it is rec comended to leave the58 # Due to security issues with Apache modules, it is recommended to leave the 59 59 # following setting enabled. 60 60 ForceSingleExtension = True … … 78 78 # If it is empty then no restrictions are done here. 79 79 # 80 # For a file to be uploaded it has to ful lfil both the AllowedExtensions80 # For a file to be uploaded it has to fulfill both the AllowedExtensions 81 81 # and DeniedExtensions (that's it: not being denied) conditions. 82 82 # … … 88 88 # an absolute path. 89 89 # If it's an empty string then it will be autocalculated. 90 # Useful lif you are using a virtual directory, symbolic link or alias.90 # Useful if you are using a virtual directory, symbolic link or alias. 91 91 # Examples: 'C:\\MySite\\userfiles\\' or '/root/mysite/userfiles/'. 92 92 # Attention: The above 'FileTypesPath' must point to the same directory. … … 102 102 # an absolute path. 103 103 # If it's an empty string then it will be autocalculated. 104 # Useful lif you are using a virtual directory, symbolic link or alias.104 # Useful if you are using a virtual directory, symbolic link or alias. 105 105 # Examples: 'C:\\MySite\\userfiles\\' or '/root/mysite/userfiles/'. 106 106 # Attention: The above 'QuickUploadPath' must point to the same directory. … … 114 114 QuickUploadAbsolutePath['File'] = FileTypesAbsolutePath['File'] 115 115 116 AllowedExtensions['Image'] = ['bmp','gif','jpeg','jpg','png' ,'psd','tif','tiff']116 AllowedExtensions['Image'] = ['bmp','gif','jpeg','jpg','png'] 117 117 DeniedExtensions['Image'] = [] 118 118 FileTypesPath['Image'] = UserFilesPath + 'image/' … … 121 121 QuickUploadAbsolutePath['Image']= FileTypesAbsolutePath['Image'] 122 122 123 AllowedExtensions['Flash'] = ['swf','fl a']123 AllowedExtensions['Flash'] = ['swf','flv'] 124 124 DeniedExtensions['Flash'] = [] 125 125 FileTypesPath['Flash'] = UserFilesPath + 'flash/' -
FCKeditor/trunk/fckconfig.js
r931 r1041 286 286 FCKConfig.LinkUpload = true ; 287 287 FCKConfig.LinkUploadURL = FCKConfig.BasePath + 'filemanager/connectors/' + _QuickUploadLanguage + '/upload.' + _QuickUploadLanguage ; 288 FCKConfig.LinkUploadAllowedExtensions = " " ; // empty for all289 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 one288 FCKConfig.LinkUploadAllowedExtensions = ".(7z|aiff|asf|avi|bmp|csv|doc|fla|flv|gif|gz|gzip|jpeg|jpg|mid|mov|mp3|mp4|mpc|mpeg|mpg|ods|odt|pdf|png|ppt|pxd|qt|ram|rar|rm|rmi|rmvb|rtf|sdc|sitd|swf|sxc|sxw|tar|tgz|tif|tiff|txt|vsd|wav|wma|wmv|xls|xml|zip)$" ; // empty for all 289 FCKConfig.LinkUploadDeniedExtensions = "" ; // empty for no one 290 290 291 291 FCKConfig.ImageUpload = true ; … … 296 296 FCKConfig.FlashUpload = true ; 297 297 FCKConfig.FlashUploadURL = FCKConfig.BasePath + 'filemanager/connectors/' + _QuickUploadLanguage + '/upload.' + _QuickUploadLanguage + '?Type=Flash' ; 298 FCKConfig.FlashUploadAllowedExtensions = ".(swf|fl a)$" ; // empty for all298 FCKConfig.FlashUploadAllowedExtensions = ".(swf|flv)$" ; // empty for all 299 299 FCKConfig.FlashUploadDeniedExtensions = "" ; // empty for no one 300 300