]> de.git.xonotic.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)
committerRudolf Polzer <divVerent@xonotic.org>
Fri, 19 Aug 2011 04:51:04 +0000 (06:51 +0200)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11283 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=a8d400c471350ed6a0ff4deffbe2bf332018cb90

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)