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

invalid [] chars on search URI

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Resolved
    • 3.0.7-PL1
    • 3.2.0-a2
    • BBCode Engine, Posting
    • None
    • PHP 5.2.6, MySQL 5.0.45, Firefox 3.6.8

    Description

      This problem was previously reported long ago in http://tracker.phpbb.com/browse/PHPBB3-6611 but it's been reported by one of my forum members. Briefly, the returned URL for a search is not parsed correctly if posted without modification. For example:

      http://www.phpbb.com/community/search.php?keywords=bogus&terms=all&author=&fid[]=46&sc=1&sf=all&sr=posts&sk=t&sd=d&st=0&ch=300&t=0&submit=Search

      If posted as shown above, the magic URL code incorrectly parses it as a clickable link. See the attached screenshot; notice how the query parameters after the "[]" are ignored. If the returned "[]" in the URL is encoded as %5B%5D, the parser treats it correctly. The returned search URL should either omit the "[]" or encode it so it's recognized by the phpBB parser as a valid URL w/parameters.

      Attachments

        Issue Links

          Activity

            People

              nicofuma nicofuma [X] (Inactive)
              HB HB [X] (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: