]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - prvm_cmds.c
uri_post: make content type mandatory
[xonotic/darkplaces.git] / 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)