Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
500 on raw and 414 on blob show of long file name with 1024 characters [bug] #290
Link to the 500 on raw Currently not clickable from the web UI because of the 414.
Link to the 414 on blob show. Unlike 5XX, 4XX URLs are OK: the problem is that it is clickable from the web UI tree view: https://github.com/cirosantilli/test-long-filename-1024
The web file editor limits files to 1000 chars, but it is not possible to limit Git repositories themselves.
It is not possible to generate such files with porcelain because they cannot exist on filesystems, but a bit of plumbing gets the job done: https://gist.github.com/cirosantilli/38d084d901ff0a4e6ca8
The problems only show on filenames above 1000 chars: 256 is fine even though it is already too long for the filesystem, so I suppose that the 500 is also URL length related. See: https://github.com/cirosantilli/test-long-filename-256
UPDATE 2014-11-12: ivan replied confirming