From: divverent Date: Wed, 17 Aug 2011 20:11:33 +0000 (+0000) Subject: uri_post: make content type mandatory X-Git-Tag: xonotic-v0.5.0~39 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=66570ff7c70a5217d62648410a894907d9ed63f4;p=xonotic%2Fdarkplaces.git 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 --- 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)