From 66570ff7c70a5217d62648410a894907d9ed63f4 Mon Sep 17 00:00:00 2001 From: divverent Date: Wed, 17 Aug 2011 20:11:33 +0000 Subject: [PATCH] uri_post: make content type mandatory git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11283 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=a8d400c471350ed6a0ff4deffbe2bf332018cb90 --- prvm_cmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prvm_cmds.c b/prvm_cmds.c index 703280f3..716762ed 100644 --- a/prvm_cmds.c +++ b/prvm_cmds.c @@ -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) -- 2.39.2