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