about summary refs log tree commit diff
path: root/app/lib/activitypub/activity.rb
diff options
context:
space:
mode:
authorunarist <m.unarist@gmail.com>2017-10-18 01:32:25 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-10-17 18:32:25 +0200
commit3bc8924940ac37b1efa458e160e51f4f0e328d6b (patch)
treef5a9050ee9861c6f0b7b15744c55eb2745199dc0 /app/lib/activitypub/activity.rb
parenta02de9e0128752c1ec2bd53835d2c065b91601d8 (diff)
Don't capture scheme-less URLs in the status (#5435)
Specifically, this fixes status length calculation to be same as JS side.

BTW, since this pattern used in not only preview card fetching, we
should extract it (with twitter-regex?) and write tests I think.
Diffstat (limited to 'app/lib/activitypub/activity.rb')
0 files changed, 0 insertions, 0 deletions