Closed GoogleCodeExporter closed 8 years ago
before:
return line.replaceAll("; Path=" + d, "; Path=" + s);
after:
return Pattern.compile(";\\s*Path=" + d, Pattern.CASE_INSENSITIVE).matcher(line).replaceAll("; Path=" + s);
Before:
line.replace("domain=" + dist, "domain=" + src)
After:
Pattern.compile("domain=" + dist, Pattern.CASE_INSENSITIVE).matcher(line).replaceAll("domain=" + src)
Commit log:
r517 2012-01-10 21:31 Issue 2:Can't convert the "Set-Cookie" header's path. (bugfix domain convert)
r516 2012-01-07 04:03 Issue 2:Can't convert the "Set-Cookie" header's path. support ";Path=/xxx" and "path=/xxx" (CASE INSENSITIVE)
Fixed version: 0.9.1 or 1.0
Original comment by tamacat.org
on 10 Jan 2012 at 12:47
Original issue reported on code.google.com by
tamacat.org
on 6 Jan 2012 at 7:00