Removed specific check for character '%' when renaming a folder

This commit is contained in:
jabarros 2014-12-17 13:36:38 +01:00
parent b23d33b737
commit ec820a29ac

View file

@ -158,7 +158,7 @@ public class RenameFileOperation extends SyncOperation {
*/
private boolean isValidNewName() throws IOException {
// check tricky names
if (mNewName == null || mNewName.length() <= 0 || mNewName.contains(File.separator) || mNewName.contains("%")) {
if (mNewName == null || mNewName.length() <= 0 || mNewName.contains(File.separator)) {
return false;
}
// create a test file