Martin Brennan
61b9e3ee30
FIX: InlineOneboxer watched word censor error ( #16921 )
...
In 7328a2bfb056915efc1e42dd1eea64da28b11f12 we changed the
InlineOneboxer#onebox_for method to run the title of the
onebox through WatchedWord#censor_text. However, it is
allowable for the title to be nil, which was causing this
error in production:
> NoMethodError : undefined method gsub for nil:NilClass
We just need to check whether the title is nil before trying
to censor it.
2022-05-26 14:01:44 +10:00
..
2022-05-24 17:13:44 +02:00
2022-05-26 09:53:01 +10:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-04-25 17:19:39 +01:00
2022-03-01 17:50:50 +00:00
2022-05-05 09:53:54 +08:00
2022-05-26 09:53:01 +10:00
2022-05-04 17:35:22 +02:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-04-28 11:51:03 +02:00
2022-05-10 10:02:28 -05:00
2022-03-01 17:50:50 +00:00
2022-05-05 09:53:54 +08:00
2022-04-06 10:07:14 +02:00
2022-03-30 09:16:28 +08:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-05-05 09:50:43 +08:00
2022-04-13 15:04:09 +03:00
2022-03-01 17:50:50 +00:00
2022-05-05 15:13:17 -03:00
2022-04-28 11:51:03 +02:00
2022-04-07 07:58:10 +10:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-05-10 22:18:17 +03:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-05-24 11:13:21 +10:00
2022-05-23 10:07:15 +10:00
2022-05-23 10:07:15 +10:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-05-23 14:28:02 +01:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-05-05 09:53:54 +08:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-05-13 16:18:13 +08:00
2022-05-11 10:23:32 +01:00
2022-05-05 09:53:54 +08:00
2022-04-06 14:08:06 +01:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-04-05 19:29:58 +02:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-05-10 10:42:18 +10:00
2022-03-01 17:50:50 +00:00
2022-04-28 11:51:03 +02:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-05-26 14:01:44 +10:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-04-06 11:09:12 +01:00
2022-04-06 14:08:06 +01:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-05-23 20:02:02 +03:00
2022-04-28 11:51:03 +02:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-05-09 17:23:39 -03:00
2022-05-10 10:42:18 +10:00
2022-05-23 10:07:15 +10:00
2022-05-10 10:42:18 +10:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-04-06 14:08:06 +01:00
2022-03-01 17:50:50 +00:00
2022-05-19 11:18:30 +01:00
2022-03-01 17:50:50 +00:00
2022-05-12 10:07:43 -05:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-03-22 20:13:27 +02:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-05-24 11:31:24 -04:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-03-28 14:15:28 -04:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-04-06 14:08:06 +01:00
2022-03-01 17:50:50 +00:00
2022-05-10 10:42:18 +10:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-05-23 10:07:15 +10:00
2022-05-22 12:32:55 -04:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-04-20 14:11:39 +10:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00