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

invalid [] chars on search URI

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Resolved
    • Icon: Minor Minor
    • 3.2.0-a2
    • 3.0.7-PL1
    • BBCode Engine, Posting
    • None
    • PHP 5.2.6, MySQL 5.0.45, Firefox 3.6.8

      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.

            nicofuma nicofuma
            HB HB
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: