Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-9600

Wrong redirection after login

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 3.0.7-PL1
    • Authentication
    • None

      When a script ( call it MOD ) point to the login box with a redirection parameter, you got two hidden input for redirect url :

      This is an example of the HTML code

      		<dl>
      			<dt>&nbsp;</dt>
      			<dd><input type="hidden" name="sid" value="e4c443e20c15df8583334f54c152da74" />
      <input type="hidden" name="redirect" value="./viewtopic.php?f=2&amp;t=1" />
      <input type="submit" name="login" tabindex="6" value="Login" class="button1" /></dd>
      		</dl>
      		<input type="hidden" name="redirect" value="./ucp.php?mode=login&redirect=.%2Fviewtopic.php%3Ff%3D2%26t%3D1" />
      

      That's because the *

      {S_LOGIN_REDIRECT}

      * in the login_body.html template

            rxu rxu
            leviatan21 leviatan21 [X] (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: