Uploaded image for project: 'OpenJDK'
  1. OpenJDK
  2. OPENJDK-1215

Provide IcedTea-Web (ITW) useragent string

XMLWordPrintable

    • Icon: Feature Feature
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • None
    • icedtea-web
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      ITW uses the default OpenJDK useragent string, which can be customized with the http.agent system property.
      openjdk/jdk/src/share/classes/sun/net/www/protocol/http/HttpURLConnection.java

      String agent = java.security.AccessController.doPrivileged(
      new sun.security.action.GetPropertyAction("http.agent"));
      if (agent == null) {
      agent = "Java/"+version;
      } else {
      agent = agent + " Java/"+version;
      }
      userAgent = agent;
      Update ITW to provide a default JNLP specific useragent string instead of the generic "Java/<version>" (e.g. Java/1.8.0_352).

       

       

       

              rh-ee-fthevene Frederic Thevenet
              rhn-support-mmillson Michael Millson
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: