Renaming a File to '/' Causes Inaccurate Error Message

Words
109
Reading
1 min
Listen
Play
9y

Expected Behavior

Renaming a File Name to '/' causes an error to appear indicating this is an invalid file name.

Actual Behavior

Renaming a File Name to '/' causes an error to appear stating that this file name already exists in the current directory when it does not.

How to Reproduce

  1. Launch Amaze File Manager 3.2.1 on Android 8.1.0
  2. Click the 3 Vertical Dots icon to the right of a File
  3. Select 'Rename'
  4. Change the file name to /
  5. Select 'Save'

Device: Pixel 2 XL
OS: Android 8.1.0
App Version: 3.2.1

Recording of the Bug

Amaze_FileNameAlreadyExists.gif



Posted on Utopian.io - Rewarding Open Source Contributors

Renaming a File to '/' Causes Inaccurate Error Message | Ecency