500 on new blob if file name is 256 characters or longer
Created by: cirosantilli
Go to /new/master
Get the filename to your clipboard:
printf "$(python -c "print ('a' * 256)")" | xsel -b
Probably happens because filenames cannot be longer than 255 on filesystems.
GitHub limits it to 1000.
Note however that both gitlab and github can show filenames longer than 1000:
- https://gitlab.com/cirosantilli/test-long-file-name-1024
- https://github.com/cirosantilli/test-long-file-name-1024
although with a few bugs: