Commit f8b127131446c56c6095d3df1789919b505712df

Authored by Conrad Vermeulen
1 parent 43f080bf

KTS-3814

"Why strtolower paths on upload manager?"
Fixed.

Committed By: Conrad Vermeulen
Reviewed By: Megan Watson

git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@9554 c91229c3-7414-0410-bfa2-8a42b809f60b
ktwebservice/KTUploadManager.inc.php
... ... @@ -54,7 +54,7 @@ class KTUploadManager
54 54  
55 55 $this->age = $config->get('webservice/uploadExpiry',60);
56 56 $this->temp_dir = $config->get('webservice/uploadDirectory');
57   - $this->temp_dir = strtolower(str_replace('\\','/', $this->temp_dir));
  57 + $this->temp_dir = str_replace('\\','/', $this->temp_dir);
58 58 }
59 59  
60 60 /**
... ... @@ -79,7 +79,7 @@ class KTUploadManager
79 79 function is_valid_temporary_file($tempfilename)
80 80 {
81 81 $tempdir = substr($tempfilename,0,strlen($this->temp_dir));
82   - $tempdir = strtolower(str_replace('\\','/', $tempdir));
  82 + $tempdir = str_replace('\\','/', $tempdir);
83 83 return ($tempdir == $this->temp_dir);
84 84 }
85 85  
... ...