1
0
Fork 0
forked from fedi/mastodon

Fix missing , (#18660)

This commit is contained in:
Takeshi Umeda 2022-06-24 06:10:03 +09:00 committed by GitHub
parent 6c2d3038f4
commit 9c571a95db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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