Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to drag drop a folder named "0" #1572

Closed
marc-chappuis opened this issue Aug 5, 2016 · 1 comment
Closed

Unable to drag drop a folder named "0" #1572

marc-chappuis opened this issue Aug 5, 2016 · 1 comment
Assignees

Comments

@marc-chappuis
Copy link
Contributor

When uploading a folder named "0", there is an alert with the message:

Unable to create folder "".
Invalid file name.

The alert is also displayed twice

elfinder-issue

To reproduce the bug, create a folder on your computer named "0", add at least one file inside and
drag drop the folder to elfinder.

If you create a folder named "0" directly on elfinder it works.

If you drag drop a folder named "0" from your computer on an existing one on elfinder, it works after asking you if you want to replace it.

Was using chrome 51.0.2704.103 on windows 10

marc-chappuis added a commit to marc-chappuis/elFinder that referenced this issue Aug 5, 2016
@nao-pon nao-pon self-assigned this Aug 5, 2016
@nao-pon
Copy link
Member

nao-pon commented Aug 5, 2016

@marc-chappuis This is a bug of elFinder.class.php. I'll fix it.

marc-chappuis added a commit to marc-chappuis/elFinder that referenced this issue Aug 5, 2016
@nao-pon nao-pon closed this as completed in 1cb4064 Aug 5, 2016
nao-pon added a commit that referenced this issue Aug 5, 2016
[VD:abstract] bugfix `nameAccepted()` does not accept "0" problem rel. #1572
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants