]> cat aescling's git repositories - mastodon.git/commit
Don't capture scheme-less URLs in the status (#5435)
authorunarist <m.unarist@gmail.com>
Tue, 17 Oct 2017 16:32:25 +0000 (01:32 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Tue, 17 Oct 2017 16:32:25 +0000 (18:32 +0200)
commit3bc8924940ac37b1efa458e160e51f4f0e328d6b
treef5a9050ee9861c6f0b7b15744c55eb2745199dc0
parenta02de9e0128752c1ec2bd53835d2c065b91601d8
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.
app/services/fetch_link_card_service.rb