Uploaded image for project: 'Maven Javadoc Plugin'
  1. Maven Javadoc Plugin
  2. MJAVADOC-533

<link> entries that point to a resource that requires an Accept header may be ignored

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.1
    • Fix Version/s: 3.1.0
    • Component/s: None
    • Labels:
      None

      Description

      This is a regression caused by the changes made to fix MJAVADOC-427.

      The HTTP client configuration that's used to get the redirect URLs does not include an Accept header in the requests that it makes. This can result in a 403 response for some javadoc, such as Spring Framework's which is fronted by Cloudflare. The lack of Accept header will sometimes cause Cloudflare to respond with a 403 containing a Captcha.

      I'm a member of the Spring Framework team and have asked our sysadmin to look at tweaking Cloudflare's rules, but I thought it worth reporting the problem here as others may be affected and may not be in a position to change the server's configuration.

        Attachments

          Activity

            People

            • Assignee:
              gboue Guillaume Boué
              Reporter:
              awilkinson Andy Wilkinson
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: