]> cat aescling's git repositories - mastodon.git/commit
Fix length validator counting things that look like URIs like URLs (#4462)
authorEugen Rochko <eugen@zeonfederated.com>
Mon, 31 Jul 2017 03:06:20 +0000 (05:06 +0200)
committerGitHub <noreply@github.com>
Mon, 31 Jul 2017 03:06:20 +0000 (05:06 +0200)
commite1fcad34a9e3c3fd22b3bee66b82d85bd03629fb
treee681a8d0fb6ba45b6209485f2de391c1c59028aa
parent155ba8fd3a5300b68cb968520d082920a81165fa
Fix length validator counting things that look like URIs like URLs (#4462)

URI.extract is too strong, not limited to URLs, matched real text.
Same issue was present in language detector.
app/lib/language_detector.rb
app/validators/status_length_validator.rb