Skip to content

Commit

Permalink
Allow uppercase in file path
Browse files Browse the repository at this point in the history
  • Loading branch information
David DAUGREILH committed Nov 29, 2018
1 parent 49372f9 commit a448479
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ Screenshots on
### 1.5.3
* Test compatibily with Wordpress 5.0.0
* Improvement translations
* Fix unix file path from log directory

### 1.5.2
* Fix file path on duplicate
Expand Down
2 changes: 1 addition & 1 deletion lib/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public static function valid_windows_dir_path($path) {
* @return boolean true | false
*/
public static function valid_unix_dir_path($path) {
$reg = "/^(\/([a-z0-9+\$_.-])+)*\/?$/";
$reg = "/^(\/([a-zA-Z0-9+\$_.-])+)*\/?$/";
$bool = preg_match($reg,$path);
return ($bool == 1);
}
Expand Down
1 change: 1 addition & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ As of now, following languages are supported : English (en_US), French (fr_FR),
= 1.5.3 =
* Test compatibily with Wordpress 5.0.0
* Improvement translations
* Fix unix file path from log directory

= 1.5.2 =
* Fix file path on duplicate
Expand Down

0 comments on commit a448479

Please sign in to comment.