equal
deleted
inserted
replaced
2804 if (value == null) |
2804 if (value == null) |
2805 return null; |
2805 return null; |
2806 |
2806 |
2807 if (SET_COOKIE.equalsIgnoreCase(name) || |
2807 if (SET_COOKIE.equalsIgnoreCase(name) || |
2808 SET_COOKIE2.equalsIgnoreCase(name)) { |
2808 SET_COOKIE2.equalsIgnoreCase(name)) { |
|
2809 |
2809 // Filtering only if there is a cookie handler. [Assumption: the |
2810 // Filtering only if there is a cookie handler. [Assumption: the |
2810 // cookie handler will store/retrieve the HttpOnly cookies] |
2811 // cookie handler will store/retrieve the HttpOnly cookies] |
2811 if (cookieHandler == null) |
2812 if (cookieHandler == null || value.length() == 0) |
2812 return value; |
2813 return value; |
2813 |
2814 |
2814 sun.misc.JavaNetHttpCookieAccess access = |
2815 sun.misc.JavaNetHttpCookieAccess access = |
2815 sun.misc.SharedSecrets.getJavaNetHttpCookieAccess(); |
2816 sun.misc.SharedSecrets.getJavaNetHttpCookieAccess(); |
2816 StringBuilder retValue = new StringBuilder(); |
2817 StringBuilder retValue = new StringBuilder(); |