Redirect path in login URL is bad

With the Multisite Privacy plugin activated, the URL that I am redirected to after logging in is invalid. For example, if the site "http://www.example.com/wordpress/mysite/" is made private, the URL that I am forwarded to when I try to access the site is "http://www.example.com/wordpress/mysite/wp-login.php?redirect_to=http%3A%2F%2Fwww.example.com%2Fwordpress%2Fmysite%2Fwordpress%2Fmysite%2F&privacy=1" (notice how the "/wordpress/mysite/" portion is duplicated).

After logging in, I am directed to the page http://www.example.com/wordpress/mysite/wordpress/mysite (again, the "/wordpress/mysite" is duplicated) which is "Not Found" due to the incorrect path.