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

500 on raw and 414 on blob show of long file name with 1024 characters [bug] #290

Closed
cirosantilli opened this issue Nov 11, 2014 · 1 comment

Comments

Projects
None yet
1 participant
@cirosantilli
Copy link
Collaborator

commented Nov 11, 2014

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

@cirosantilli cirosantilli changed the title 500 on raw and 414 on blob show of long file name with 1024 characters 500 on raw and 414 on blob show of long file name with 1024 characters [bug] Nov 13, 2014

@cirosantilli

This comment has been minimized.

Copy link
Collaborator Author

commented Nov 22, 2016

solved?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.