Fix missing , (#18660)

This commit is contained in:
Takeshi Umeda 2022-06-24 06:10:03 +09:00 committed by GitHub
parent 5c38a4492b
commit 27f235265d

View file

@ -50,7 +50,7 @@ class ActivityPub::Parser::MediaAttachmentParser
components = begin
blurhash = @json['blurhash']
if blurhash.present? && /^[\w#$%*+-.:;=?@\[\]^{|}~]+$/.match?(blurhash)
if blurhash.present? && /^[\w#$%*+,-.:;=?@\[\]^{|}~]+$/.match?(blurhash)
Blurhash.components(blurhash)
end
end