discourse/app/jobs
Matt Palmer 394cd43d77 Scrub only after converting strings to UTF-8
Scrubbing an ASCII-8BIT string isn't ever going to remove anything, because
there's no code point that isn't valid 8-bit ASCII.  Since we'd really
prefer it if everything were UTF-8 anyway, we'll just assume, for now, that
whatever comes out of SimpleRSS is probably UTF-8, and just nuke anything
that isn't a valid UTF-8 codepoint.

Of course, the *real* bug here is that SimpleRSS [unilaterally converts
everything to
ASCII-8BIT](https://github.com/cardmagic/simple-rss/issues/15).  It's
presumably *far* too much to ask that it detects the encoding of the source
RSS feed and marks the parsed strings with the correct encoding...
2016-08-25 16:09:07 +10:00
..
onceoff FIX: FirstReplyByEmail badge wasn't granted 2016-08-10 19:24:01 +02:00
regular FEATURE: retry processing incoming emails on rate limit 2016-08-08 22:28:27 +02:00
scheduled Scrub only after converting strings to UTF-8 2016-08-25 16:09:07 +10:00
base.rb FIX: 'cancel_scheduled_job' was deleting all jobs in multisite 2016-08-12 13:10:52 +02:00
onceoff.rb Instead of a Distributed Mutex, use a Redis SETNX guard 2016-04-12 15:31:21 -04:00