mirror of
https://github.com/nextcloud/android.git
synced 2024-11-22 21:25:35 +03:00
Removed specific check for character '%' when renaming a folder
This commit is contained in:
parent
b23d33b737
commit
ec820a29ac
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue