Plugin Directory

Changeset 2291331


Ignore:
Timestamp:
04/25/2020 01:26:45 AM (6 years ago)
Author:
onionbazaar
Message:

update 1.2.0 to 1.2.1

Location:
tor-router
Files:
3 added
2 edited

Legend:

Unmodified
Added
Removed
  • tor-router/trunk/readme.txt

    r2288948 r2291331  
    55Requires at least: 2.8
    66Tested up to: 5.4
    7 Stable tag: 1.2.0
     7Stable tag: 1.2.1
    88License: GNU General Public License v3.0
    99License URI: http://www.gnu.org/licenses/gpl-3.0.html
    1010
    1111Routes outgoing traffic through Tor or any HTTP / SOCKS Proxy.
    12 
    1312
    1413== Description ==
     
    1716
    1817To check if the routing works properly, there is a button "Check IP" in the Tor Router settings. This connects to https://icanhazip.com to display your external IP.
    19 
    20 
    2118
    2219== Installation ==
     
    27244. To route through Tor you need to have it installed on your server (e.g. `apt-get install tor`), and set Tor Router to `SOCKS Mode`, Proxy Host `localhost`, Proxy Port `9050` (default)
    2825
    29 
    3026== Screenshots ==
    3127
    32281. View of Tor Router Settings
    3329
     30== Changelog ==
    3431
    35 == Changelog ==
     32= 1.2.1 - 2020-04-25 =
     33* Bugfix Firewall
    3634
    3735= 1.2.0 - 2020-04-22 =
  • tor-router/trunk/tor-router.php

    r2288948 r2291331  
    44Plugin URI: https://wordpress.org/plugins/tor-router/
    55Description: Routes outgoing traffic through Tor or any HTTP / SOCKS Proxy.
    6 Version: 1.2.0
     6Version: 1.2.1
    77Author: OnionBazaar
    88Author URI: http://onionbazaar.org
     
    6767    $obztorrouter_plugins_list = get_plugins();
    6868    foreach ($obztorrouter_plugins_list as $key => $value) {
    69         //$obztorrouter_this_plugin->guid
    7069        if ( $key == 'snitch/snitch.php' ) $obztorrouter_snitch_installed = true;
    7170    }
     
    224223    $obz_exceptions = $obz_exceptions . "\n" . get_site_url();
    225224    foreach(preg_split("/((\r?\n)|(\r\n?))/", $obz_exceptions) as $line) {
    226         if (substr($url, 0, strlen($line))==$line) $obz_allow = true; }
     225        if ((substr($url, 0, strlen($line))==$line) AND (trim($line)!='')) $obz_allow = true; }
    227226
    228227    if ($obz_allow) {
Note: See TracChangeset for help on using the changeset viewer.