From 523303277edd16399c3d220da71be83c309b647d Mon Sep 17 00:00:00 2001 From: Robert Swain Date: Wed, 31 May 2017 07:11:00 +0200 Subject: [PATCH] mediaapi/storage: Refer to RFC instead of golang for base64 format --- .../dendrite/mediaapi/storage/media_repository_table.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/github.com/matrix-org/dendrite/mediaapi/storage/media_repository_table.go b/src/github.com/matrix-org/dendrite/mediaapi/storage/media_repository_table.go index e4a4cbf83..99df713df 100644 --- a/src/github.com/matrix-org/dendrite/mediaapi/storage/media_repository_table.go +++ b/src/github.com/matrix-org/dendrite/mediaapi/storage/media_repository_table.go @@ -40,7 +40,7 @@ CREATE TABLE IF NOT EXISTS media_repository ( creation_ts BIGINT NOT NULL, -- The file name with which the media was uploaded. upload_name TEXT NOT NULL, - -- A golang base64 URLEncoding string representation of a SHA-256 hash sum of the file data. + -- Alternate RFC 4648 unpadded base64 encoding string representation of a SHA-256 hash sum of the file data. base64hash TEXT NOT NULL, -- The user who uploaded the file. Should be a Matrix user ID. user_id TEXT NOT NULL