]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
uri_post: make content type mandatory
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 17 Aug 2011 20:11:33 +0000 (20:11 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 17 Aug 2011 20:11:33 +0000 (20:11 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11283 d7cf8633-e32d-0410-b094-e92efae38249

prvm_cmds.c

index 703280f37f004bad31df22f64ad6b61813bf87d1..716762eddc42ef56b32069a258b272bff396475d 100644 (file)
@@ -5884,7 +5884,7 @@ void VM_uri_get (void)
        handle->prognr = PRVM_GetProgNr();
        handle->starttime = prog->starttime;
        handle->id = id;
-       if(postseparator)
+       if(postseparator && posttype && *posttype)
        {
                size_t l = strlen(postseparator);
                if(poststringbuffer >= 0)