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

Loginbox <input /> redirect breaks xHTML

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.0.8-RC1
    • 3.0.x
    • Other
    • None
    • PHP Environment:
      Database:

      When you view the login box, for example on http://127.0.0.1/phpBB3/viewtopic.php?f=2&p=7#p7 after logging in you are redirected to the topic. Therefor the redirect parameter is added in the template:

      <input type="hidden" name="redirect" value="./viewtopic.php?f=2&p=7" />

      but the & should be & Now it is invalid XHTML:

      Line 184, Column 67: general entity "p" not defined and no default entity
      		<input type="hidden" name="redirect" value="./viewtopic.php?f=2&p=7" />
       
      This is usually a cascading error caused by a an undefined entity reference or use of an unencoded ampersand (&) in an URL or body text. See the previous message for further details.
      

            Kellanved Kellanved [X] (Inactive)
            nickvergessen Joas Schilling
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: