I start a jscoverage proxy ,but I can't success to login in a website ,I
Check the cookie and found :
Set-Cookie: pt2gguin=o0000450260; EXPIRES=Fri, 02-Jan-2020 00:00:00 GMT;
PATH=/; DOMAIN=qq.com;, uin=o0000450260; PATH=/; DOMAIN=qq.com;,
skey=@iiqpCDThu; PATH=/; DOMAIN=qq.com;, clientuin=; EXPIRES=Fri, 02-Jan-1970
00:00:00 GMT; PATH=/; DOMAIN=qq.com;, clientkey=; EXPIRES=Fri, 02-Jan-1970
00:00:00 GMT; PATH=/; DOMAIN=qq.com;, zzpaneluin=; EXPIRES=Fri, 02-Jan-1970
00:00:00 GMT; PATH=/; DOMAIN=qq.com;, zzpanelkey=; EXPIRES=Fri, 02-Jan-1970
00:00:00 GMT; PATH=/; DOMAIN=qq.com;, ptisp=ctc; PATH=/; DOMAIN=qq.com;,
ptuserinfo=74657269736c69; PATH=/;DOMAIN=ptlogin2.qq.com;
please to notice the field : "DOMIN=qq.com;," , It'should only
be "DOMIN=qq.com;" . please to fix the bug ,thank a lot.
hi..Ed, thanks to your reply, We have fixed the bug by modified the file :http-
message.c ,just like these:
void HTTPMessage_add_header(HTTPMessage * message, const char * name, const
char * value) {
HTTPHeader * last = NULL;
for (HTTPHeader * h = message->headers; h != NULL; h = h->next) {
/**
if (strcmp(h->name, name) == 0) {
char * new_value;
xasprintf(&new_value, "%s, %s", h->value, value);
free(h->value);
h->value = new_value;
return;
}
**/
last = h;
}
I rebuild the jescoverage-server.exe on my cgywin and can login in my website
sucessly. thanks .
Attachment: http-message.c do we have a jscoverage-server.exe available after this fix ? I am also having issues with cookie and not able to login to my website. But I don't know how to take this http-message.c and build this. Can I get jscoverage-server.exe with this fix ?
This program is not really being maintained any more; it's not likely there will be any further releases of it. You may want to try something else.
Date submitted: 2011-03-06 02:21:02 UTC