about summary refs log tree commit diff
path: root/app/lib/activitypub/parser/media_attachment_parser.rb
diff options
context:
space:
mode:
authorTakeshi Umeda <noel.yoshiba@gmail.com>2022-06-24 06:10:03 +0900
committerGitHub <noreply@github.com>2022-06-23 23:10:03 +0200
commit9c571a95db125aa2cbf31d1406d4327032ce9111 (patch)
treea3b2dd11c08f22c4a463d9da083fc437507afc36 /app/lib/activitypub/parser/media_attachment_parser.rb
parent6c2d3038f421a94171594c70d490daeec1e1a2d7 (diff)
Fix missing , (#18660)
Diffstat (limited to 'app/lib/activitypub/parser/media_attachment_parser.rb')
-rw-r--r--app/lib/activitypub/parser/media_attachment_parser.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/activitypub/parser/media_attachment_parser.rb b/app/lib/activitypub/parser/media_attachment_parser.rb
index 30bea1f0e..656be84b7 100644
--- a/app/lib/activitypub/parser/media_attachment_parser.rb
+++ b/app/lib/activitypub/parser/media_attachment_parser.rb
@@ -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