Changeset 382


Ignore:
Timestamp:
Jun 7, 2012, 4:34:14 PM (13 years ago)
Author:
dmik
Message:

icedtea-web: Fix cache file path construction.

It would replace D:\blah with D_\blah.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/icedtea-web/netx/net/sourceforge/jnlp/cache/CacheUtil.java

    r380 r382  
    447447        StringBuffer path = new StringBuffer();
    448448
    449         path.append(subdir);
    450         path.append(File.separatorChar);
    451 
    452449        path.append(location.getProtocol());
    453450        path.append(File.separatorChar);
     
    456453        path.append(location.getPath().replace('/', File.separatorChar));
    457454
    458         return new File(FileUtils.sanitizePath(path.toString()));
     455        return new File(subdir + File.separatorChar + FileUtils.sanitizePath(path.toString()));
    459456    }
    460457
Note: See TracChangeset for help on using the changeset viewer.