Changeset 2302759
- Timestamp:
- 05/11/2020 03:03:36 PM (5 years ago)
- Location:
- simple-file-list
- Files:
-
- 6 edited
- 1 copied
-
tags/4.2.8 (copied) (copied from simple-file-list/trunk)
-
tags/4.2.8/ee-simple-file-list.php (modified) (4 diffs)
-
tags/4.2.8/includes/ee-functions.php (modified) (3 diffs)
-
tags/4.2.8/readme.txt (modified) (3 diffs)
-
trunk/ee-simple-file-list.php (modified) (4 diffs)
-
trunk/includes/ee-functions.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
simple-file-list/tags/4.2.8/ee-simple-file-list.php
r2298643 r2302759 9 9 Description: A full-featured File List Manager | <a href="https://simplefilelist.com/donations/simple-file-list-project/">Donate</a> | <a href="admin.php?page=ee-simple-file-list&tab=extensions">Add Extensions</a> 10 10 Author: Mitchell Bennis 11 Version: 4.2. 711 Version: 4.2.8 12 12 Author URI: http://simplefilelist.com 13 13 License: GPLv2 or later … … 22 22 // SFL Versions 23 23 24 define('eeSFL_Version', '4.2. 7'); // Plugin version - DON'T FORGET TO UPDATE ABOVE TOO !!!24 define('eeSFL_Version', '4.2.8'); // Plugin version - DON'T FORGET TO UPDATE ABOVE TOO !!! 25 25 define('eeSFL_DB_Version', '4.2'); // Database structure version - used for eeSFL_VersionCheck() 26 define('eeSFL_Cache_Version', ' 7'); // Cache-Buster version for static files - used when updating CSS/JS26 define('eeSFL_Cache_Version', '8'); // Cache-Buster version for static files - used when updating CSS/JS 27 27 28 28 // Our Core … … 706 706 } else { 707 707 708 if(!strpos($eeFileName, '.')) { // Folder, need the trailing slash 709 $eeFileName .= '/'; 710 $eeNewFileName .= '/'; 711 } 712 713 $eeSFL->eeSFL_UpdateFileDetail($eeSFL_ID, $eeListFolder . $eeFileName, 'FilePath', $eeListFolder . $eeNewFileName); 714 715 delete_transient('eeSFL_FileList-' . $eeSFL_ID); // Trigger a re-scan to rebuild thumbnail 708 delete_transient('eeSFL_FileList-' . $eeSFL_ID); // Trigger a re-scan 716 709 717 710 return 'SUCCESS'; … … 771 764 } 772 765 773 if(!strpos($eeFileName, '.')) { // Folder , need the trailing slash766 if(!strpos($eeFileName, '.')) { // Folder 774 767 $eeFileName .= '/'; 775 768 } -
simple-file-list/tags/4.2.8/includes/ee-functions.php
r2298643 r2302759 12 12 global $eeSFL_Log, $eeSFL_Env; 13 13 14 if($eeSFL_Env['eeOS'] == 'WINDOWS') { 15 16 return TRUE; // For now 17 18 } elseif($eeSFL_Env['eeOS'] == 'LINUX') { 14 if($eeSFL_Env['eeOS'] == 'LINUX') { 19 15 20 16 $eeUserPath = ABSPATH . dirname($eeFilePath); // This could be problematic with things like ../ … … 26 22 } 27 23 24 return TRUE; 25 26 } else { 27 28 $eeFilePath = urldecode($eeFilePath); 29 30 if(strpos($eeFilePath, '..') OR strpos($eeFilePath, '..') === 0) { 31 wp_die('Error 99 :-('); // Bad guy found, bail out :-( 32 } 33 28 34 return TRUE; 29 35 } … … 425 431 for ($i = 1; $i <= $eeCopyLimit; $i++) { // Look for existing copies 426 432 427 $eeSFL_FilePathAdded = $eeDir . $eeNameOnly . '_ ' . $i . '.' . $eeExtension; // Indicate the copy number433 $eeSFL_FilePathAdded = $eeDir . $eeNameOnly . '_(' . $i . ').' . $eeExtension; // Indicate the copy number 428 434 429 435 if(!is_file(ABSPATH . $eeSFL_FilePathAdded)) { break; } // If no copy is there, we're done. -
simple-file-list/tags/4.2.8/readme.txt
r2298643 r2302759 4 4 Tags: file sharing, file list, file uploader, upload files, share files, exchange files, host files, sort files, dropbox, ftp 5 5 Requires at least: 4.0 6 Tested up to: 5.4 .17 Stable tag: 4.2. 76 Tested up to: 5.4 7 Stable tag: 4.2.6 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 185 185 == Upgrade Notice == 186 186 187 * 4.2. 7 - Various bug fixes and improvements187 * 4.2.8 - Security Fix 188 188 189 189 … … 197 197 == Changelog == 198 198 199 = 4.2.8 = 200 * Fixed a security issue for non-Linux users who allow front-side file management. 201 202 199 203 = 4.2.7 = 200 204 * Speed and server load improvements. 201 205 * Fixed a couple of bugs with sorting. 202 * Fixed a bug where descriptions were not sticking to folders or files after renaming the file.206 * Fixed a bug where descriptions were not sticking to folders. 203 207 * Improved the French translations, added French-Belgium translations. 204 * Various other improvements.205 208 206 209 -
simple-file-list/trunk/ee-simple-file-list.php
r2298643 r2302759 9 9 Description: A full-featured File List Manager | <a href="https://simplefilelist.com/donations/simple-file-list-project/">Donate</a> | <a href="admin.php?page=ee-simple-file-list&tab=extensions">Add Extensions</a> 10 10 Author: Mitchell Bennis 11 Version: 4.2. 711 Version: 4.2.8 12 12 Author URI: http://simplefilelist.com 13 13 License: GPLv2 or later … … 22 22 // SFL Versions 23 23 24 define('eeSFL_Version', '4.2. 7'); // Plugin version - DON'T FORGET TO UPDATE ABOVE TOO !!!24 define('eeSFL_Version', '4.2.8'); // Plugin version - DON'T FORGET TO UPDATE ABOVE TOO !!! 25 25 define('eeSFL_DB_Version', '4.2'); // Database structure version - used for eeSFL_VersionCheck() 26 define('eeSFL_Cache_Version', ' 7'); // Cache-Buster version for static files - used when updating CSS/JS26 define('eeSFL_Cache_Version', '8'); // Cache-Buster version for static files - used when updating CSS/JS 27 27 28 28 // Our Core … … 706 706 } else { 707 707 708 if(!strpos($eeFileName, '.')) { // Folder, need the trailing slash 709 $eeFileName .= '/'; 710 $eeNewFileName .= '/'; 711 } 712 713 $eeSFL->eeSFL_UpdateFileDetail($eeSFL_ID, $eeListFolder . $eeFileName, 'FilePath', $eeListFolder . $eeNewFileName); 714 715 delete_transient('eeSFL_FileList-' . $eeSFL_ID); // Trigger a re-scan to rebuild thumbnail 708 delete_transient('eeSFL_FileList-' . $eeSFL_ID); // Trigger a re-scan 716 709 717 710 return 'SUCCESS'; … … 771 764 } 772 765 773 if(!strpos($eeFileName, '.')) { // Folder , need the trailing slash766 if(!strpos($eeFileName, '.')) { // Folder 774 767 $eeFileName .= '/'; 775 768 } -
simple-file-list/trunk/includes/ee-functions.php
r2298643 r2302759 12 12 global $eeSFL_Log, $eeSFL_Env; 13 13 14 if($eeSFL_Env['eeOS'] == 'WINDOWS') { 15 16 return TRUE; // For now 17 18 } elseif($eeSFL_Env['eeOS'] == 'LINUX') { 14 if($eeSFL_Env['eeOS'] == 'LINUX') { 19 15 20 16 $eeUserPath = ABSPATH . dirname($eeFilePath); // This could be problematic with things like ../ … … 26 22 } 27 23 24 return TRUE; 25 26 } else { 27 28 $eeFilePath = urldecode($eeFilePath); 29 30 if(strpos($eeFilePath, '..') OR strpos($eeFilePath, '..') === 0) { 31 wp_die('Error 99 :-('); // Bad guy found, bail out :-( 32 } 33 28 34 return TRUE; 29 35 } … … 425 431 for ($i = 1; $i <= $eeCopyLimit; $i++) { // Look for existing copies 426 432 427 $eeSFL_FilePathAdded = $eeDir . $eeNameOnly . '_ ' . $i . '.' . $eeExtension; // Indicate the copy number433 $eeSFL_FilePathAdded = $eeDir . $eeNameOnly . '_(' . $i . ').' . $eeExtension; // Indicate the copy number 428 434 429 435 if(!is_file(ABSPATH . $eeSFL_FilePathAdded)) { break; } // If no copy is there, we're done. -
simple-file-list/trunk/readme.txt
r2298643 r2302759 4 4 Tags: file sharing, file list, file uploader, upload files, share files, exchange files, host files, sort files, dropbox, ftp 5 5 Requires at least: 4.0 6 Tested up to: 5.4 .17 Stable tag: 4.2. 76 Tested up to: 5.4 7 Stable tag: 4.2.6 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 185 185 == Upgrade Notice == 186 186 187 * 4.2. 7 - Various bug fixes and improvements187 * 4.2.8 - Security Fix 188 188 189 189 … … 197 197 == Changelog == 198 198 199 = 4.2.8 = 200 * Fixed a security issue for non-Linux users who allow front-side file management. 201 202 199 203 = 4.2.7 = 200 204 * Speed and server load improvements. 201 205 * Fixed a couple of bugs with sorting. 202 * Fixed a bug where descriptions were not sticking to folders or files after renaming the file.206 * Fixed a bug where descriptions were not sticking to folders. 203 207 * Improved the French translations, added French-Belgium translations. 204 * Various other improvements.205 208 206 209
Note: See TracChangeset
for help on using the changeset viewer.