Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-13374

Calls to ElasticSearch should set the user agent

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.4
    • Fix Version/s: 9.0-rc-1
    • Component/s: Active Installs
    • Labels:
      None
    • Tests:
      Integration
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Similar issues:

      Description

      Not setting it can cause tools such as CloudFlare to block the request with something such as:

      The owner of this website (extensions.xwiki.org) has banned your access based on your browser's signature

      Cloudflare's doc states:

      Browser Integrity Check looks for requests with HTTP headers commonly used by spammers, bots, and crawlers such as requests with a missing or non-standard user agent. If a threat is found, CloudFlare will present a block page.

        Attachments

          Activity

            People

            • Assignee:
              vmassol Vincent Massol
              Reporter:
              vmassol Vincent Massol
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: