Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-9600

Wrong redirection after login

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Duplicate
    • 3.0.7-PL1
    • None
    • Authentication
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: