Allow FileAttachment.file to store longer file paths.

Review Request #4394 — Created Aug. 5, 2013 and submitted — Latest diff uploaded

Information

Review Board
release-1.6.x

Reviewers

Allow FileAttachment.file to store longer file paths.

FileField, by default, limits to 100 characters, which was barely enough
as it was. With the new change for prepending a hash, this was
suffocating.

We now set that max length to 512 characters. While that's far smaller
than the max path length of most file systems, it should be enough for
our use, and is far more than what users have had in the past.
Verified that the column had a max length of 512 after evolving.
    Loading...