Bug 236436, need to null check URL so we won't crash, r+sr=jst.

This commit is contained in:
hjtoi%comcast.net 2006-04-20 03:38:49 +00:00
parent 178957ce70
commit ca4a979559

View File

@ -802,6 +802,8 @@ nsXMLHttpRequest::OpenRequest(const char *method,
NS_IMETHODIMP
nsXMLHttpRequest::Open(const char *method, const char *url)
{
NS_ENSURE_ARG(url);
nsresult rv;
PRBool async = PR_TRUE;
char* user = nsnull;