Fix missing , (#18660)
parent
6c2d3038f4
commit
9c571a95db
|
@ -50,7 +50,7 @@ class ActivityPub::Parser::MediaAttachmentParser
|
||||||
components = begin
|
components = begin
|
||||||
blurhash = @json['blurhash']
|
blurhash = @json['blurhash']
|
||||||
|
|
||||||
if blurhash.present? && /^[\w#$%*+-.:;=?@\[\]^{|}~]+$/.match?(blurhash)
|
if blurhash.present? && /^[\w#$%*+,-.:;=?@\[\]^{|}~]+$/.match?(blurhash)
|
||||||
Blurhash.components(blurhash)
|
Blurhash.components(blurhash)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue