r65535 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r65534‎ | r65535 | r65536 >
Date:23:15, 25 April 2010
Author:werdna
Status:ok
Tags:
Comment:
TorBlock: Do not verify SSL certificates when retrieving tor exit node lists.
Modified paths:
  • /trunk/extensions/TorBlock/TorBlock.class.php (modified) (history)

Diff [purge]

Index: trunk/extensions/TorBlock/TorBlock.class.php
@@ -145,7 +145,7 @@
146146
147147 public static function loadNodesForIP( $ip ) {
148148 $url = 'https://check.torproject.org/cgi-bin/TorBulkExitList.py?ip='.$ip;
149 - $data = Http::get( $url );
 149+ $data = Http::get( $url, 'default', array( 'sslVerifyCert' => false ) );
150150 $lines = explode("\n", $data);
151151
152152 $nodes = array();

Follow-up revisions

RevisionCommit summaryAuthorDate
r65536Merge r65535 (Commit #2^16, Geek Points + 10)werdna23:17, 25 April 2010

Status & tagging log