Index: trunk/extensions/ExternalData/ED_Utils.php |
— | — | @@ -138,6 +138,8 @@ |
139 | 139 | $db = new DatabasePostgres( $db_server, $db_username, $db_password, $db_name ); |
140 | 140 | } elseif ( $db_type == "mssql" ) { |
141 | 141 | $db = new DatabaseMssql( $db_server, $db_username, $db_password, $db_name ); |
| 142 | + } elseif ( $db_type == "oracle" ) { |
| 143 | + $db = new DatabaseOracle( $db_server, $db_username, $db_password, $db_name ); |
142 | 144 | } else { |
143 | 145 | echo ( wfMsgExt( "externaldata-db-unknown-type", array( 'parse', 'escape' ) ) ); |
144 | 146 | return; |
— | — | @@ -296,7 +298,7 @@ |
297 | 299 | |
298 | 300 | if ( !isset( $edgCacheTable ) || is_null( $edgCacheTable ) ) { |
299 | 301 | if ( $edgAllowSSL ) { |
300 | | - return Http::get( $url, 'default', array( CURLOPT_SSL_VERIFYPEER => false ) ); |
| 302 | + return Http::get( $url, 'default', array( CURLOPT_SSL_VERIFYPEER => false, 'followRedirects' => false ) ); |
301 | 303 | } else { |
302 | 304 | return Http::get( $url ); |
303 | 305 | } |