• /php/functions.php, line 77

    if (isset($_SERVER['REQUEST_URI']) && !isset($_GET['saml_sso'])) {
      $auth->login($_SERVER['REQUEST_URI']);
    }

    In a standard implementation of WP, this page will redirect to /wp-login.php the majority of the time. However, by using strictly $_SERVER[‘REQUEST_URI’], the plugin drops any query parameters supplied. This typically means that a URL created by wp_login_url() will lose it’s redirect query param.

    Is it possible for the plugin to be modified in order to maintain query params when it redirects back to the source?

The topic ‘Successful redirect drops query params’ is closed to new replies.