Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8275138

WebView: UserAgent string is empty for first request

    XMLWordPrintable

    Details

    • Subcomponent:
      web
    • Introduced In Version:

      Backports

        Description

        JRE upgrades between 18.0.251 and 1.8.0_291 have caused JavaFX WebView User-Agent Agent to no
        longer be valid. If you point the JavaFX WebView to a website and that website's WebService looks at
        the request headers for It now returns empty String " " as the "User-Agent" header.

         It used to be
          "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/610.2 (KHTML, like Gecko) JavaFX/8.0 Safari/610.2"

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                kcr Kevin Rushforth
                Reporter:
                shadowbug Shadow Bug
                Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: