superblocks-lab icon indicating copy to clipboard operation
superblocks-lab copied to clipboard

Reduced name length when renaming a file or folder

Open filippsen opened this issue 6 years ago • 0 comments

Environment/Browser

Version 1.1.0

Description

Off-by-one error. When renaming a file or folder in the Files hierarchy, the initial / character is being taken into account when limiting the file name length. The maximum length diverges from when creating a new file. 255 when creating versus (255-1) when renaming.

Steps to reproduce

  1. Try to input the maximum allowed number of characters when renaming a file or folder

Expected result

Expected it to allow for 255 characters when renaming.

Actual result

Currently diverges from creation (off by one).

filippsen avatar Nov 15 '18 23:11 filippsen