JNLPClassLoader can still return unencoded URL

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 1.4.2
    • Affects Version/s: 1.2.0
    • Component/s: deploy
    • b09
    • x86
    • windows_nt, windows_2000

      JNLPClassLoader returns illegal URL values from ClassLoader.findResource()
      if the base directory for the cache contains characters illegal in URL's.
      For example, on Windows the default deployment.userHome is commonly:
      C:/XXX/Application Data/Sun/Java/Deployment
      this will result of cached resource being returned as:

      jar:file:C:/XXX/Application Data/Sun/Data/Deployment/cache/http/YYY/resource.jar

      the space in "Application Data" is not a legal character in a url and should
      be encoded as "%20". the returned url should be:

      jar:file:C:/XXX/Application%20Data/Sun/Data/Deployment/cache/http/YYY/resource.jar

            Assignee:
            Andy Herrick (Inactive)
            Reporter:
            Andy Herrick (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: