journalduhacker/extras
joshua stein 09a92040ed Sponge: bring in monkeypatch to override SSL hostname
We force a connection to a pre-resolved IP to avoid being tricked
into connecting to a local host, but hosts that use SNI need the
hostname in the SSL negotiation instead of an IP.

Fixes the problem with CloudFlare blocking requests to medium.com,
which prevented the URL canonicalization code from being run when a
medium URL was submitted, which prevented us from stripping off
those stupid referral codes medium attaches to URLs (which could
be stripped out in Story#url= but medium allows custom domains, so
that wouldn't work for things like m.signalvnoise.com).

Code from Pushover.
2016-01-21 11:59:06 -06:00
..
countinual.rb countinual moved 2012-09-03 03:22:30 -05:00
email_parser.rb fix fallout from mailing_list_enabled -> mailing_list_mode 2014-02-20 14:10:42 -06:00
markdowner.rb Markdowner: use Nokogiri for html rewriting 2015-12-07 12:27:03 -06:00
pushover.rb Pushover: switch to subscriptions 2015-01-15 13:23:31 -06:00
sponge.rb Sponge: bring in monkeypatch to override SSL hostname 2016-01-21 11:59:06 -06:00
story_cacher.rb StoryCacher: cope with failed diffbot fetches 2015-10-19 19:13:15 -05:00
twitter.rb add twitter-posting script that has been running for a while 2014-01-31 22:26:18 -06:00
utils.rb start on mailing list interface 2013-06-30 00:54:02 -05:00