326,336c326,329 < String path = url.getPath(); < if (path.length() == 0) { < path = "/"; // $NON-NLS-1$ default if no path specified < } else { < int lastSlash = path.lastIndexOf("/");// $NON-NLS-1$ < if (lastSlash > 0) {// Must be after initial character < // Upto, but not including, trailing slash for Set-Cookie: < // (Set-Cookie2: would need the trailing slash as well < path=path.substring(0,lastSlash); < } < } --- > > // BUG 38256 - Simply sets the root path to cover cases where there is no > // path attribute in the set-cookie header > String path = "/";