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

URL of search results page does not always contain all keywords of the search query

    Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.3
    • Fix Version/s: 3.0.9-RC1
    • Component/s: Search
    • Labels:
      None
    • Environment:
      PHP Environment: 5.2.5
      Database: MySQL 4.1.22

      Description

      When using quick "Search this forum..." or quick "Search this topic...", the URL of the search results page does not contain the parameter "keywords=". (also counts for using quick forum search that can be found in the header of a vanilla php3 board)

      Further, when searching inside search results, the URL of the search results page only contains the parameter "keywords=" with the previous keyword(s), so without the latest added keyword(s).

      However, when the search results consist of more than 1 page and you go to the next page, then the URL contains the parameter "keywords=" with ALL keyword(s).

        Issue Links

          Activity

          Hide
          AmigoJack AmigoJack added a comment -

          I think this can be closed, since it works as intended: when submitting the search query you HTTP POST at a target address, so it doesn't occur in the target URL of course (POST=parameters in request body, GET=parameters in URL). On top there's no need why the "first page" should have URL like the ones produced by the pagination - the result is the same. Nonetheless: the "solution" (if ever needed/wanted) is trivial: just redirect any POST request to a GET request.

          Show
          AmigoJack AmigoJack added a comment - I think this can be closed, since it works as intended: when submitting the search query you HTTP POST at a target address, so it doesn't occur in the target URL of course (POST=parameters in request body, GET=parameters in URL). On top there's no need why the "first page" should have URL like the ones produced by the pagination - the result is the same. Nonetheless: the "solution" (if ever needed/wanted) is trivial: just redirect any POST request to a GET request.

            People

            • Assignee:
              naderman Nils Adermann
              Reporter:
              Martian Martian [X] (Inactive)
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development