Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
publisher: error displaying files in sha224 parents #1292
When a published container uses a sha224 hash, its page with thumbnails is displayed in publisher correctly, but file links don't work because of the hardcoded "sha1-" prefix in the call of getFullRef in newFileItemContainer of app/publisher/js/file.go.
@mpl This seems fairly trivial to fix, so I modified getFullRef and its call site in app/publisher/js/file.go to use a logical constraint with both ssh224 and ssh1 in the prefix.
Unfortunately, I'm on Windows and I couldn't get it to build the Web UI yet. Maybe we should have a Dockerfile to do just that.