Uploaded image for project: 'Planet4'
  1. Planet4
  2. PLANET-5515

Search: Send a different http status when no results are found

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Released
    • Icon: Should have Should have
    • 2.40.3
    • 3
    • Search
    • Sprint #145

      Investigate if the following scenario is feasible:
      1. User search for a term
      2. Search page returns no results for that term
      3. The normal "0 results found" page is shown
      4. the http status code for this is 404

      This comes as a suggestion from Cloudflare, so we can rate limiting automated traffic to our search page with random/spam query strings. It's easier to rate limit the amount of 404 a single IP is generating.

            nroussos Nikos Roussos
            nroussos Nikos Roussos
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: