Support » Plugin: Redirection » Bug on row 201 in file redirection.php prevents exports.

  • Row 201:

    if ( isset($_GET['token'] ) && isset( $_GET['page'] ) && isset( $_GET['sub'] ) && $_GET['token'] == $options['token'] && $_GET['page'] == 'tools.php?page=redirection.php' && in_array( $_GET['sub'], array( 'rss', 'xml', 'csv', 'apache' ) ) ) {

    Should be:

    if ( isset($_GET['token'] ) && isset( $_GET['page'] ) && isset( $_GET['sub'] ) && $_GET['token'] == $options['token'] && $_GET['page'] == 'redirection.php' && in_array( $_GET['sub'], array( 'rss', 'xml', 'csv', 'apache' ) ) ) {

    The issue is that $_GET['page'] will never be equal to tools.php?page=redirection.php. Thus, no export will ever happen.

    http://wordpress.org/extend/plugins/redirection/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Bug on row 201 in file redirection.php prevents exports.’ is closed to new replies.