Fix malformed Cookie string

This commit is contained in:
斟酌 鵬兄 2016-08-03 01:14:05 +08:00
parent 11e33600d0
commit c75b49d935

View File

@ -35,7 +35,7 @@ class Cookie extends WebParam
}
cookieStr += i + "=" + this.param[i] + ";";
}
cookieStr += "Path=" + p + ";" + ( e ? ( " Expires=" + e + ";" ) : "" );
cookieStr += "Path=" + p + ( e ? ( "; Expires=" + e + ";" ) : "" );
return cookieStr;
}
}