[BACK]Return to cgi.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/cgi.c between version 1.88 and 1.89

version 1.88, 2014/07/25 18:20:39 version 1.89, 2014/07/25 19:37:34
Line 1086  main(void)
Line 1086  main(void)
         if (NULL != (querystring = getenv("QUERY_STRING")))          if (NULL != (querystring = getenv("QUERY_STRING")))
                 http_parse(&req, querystring);                  http_parse(&req, querystring);
   
         if ( ! validate_manpath(&req, req.q.manpath)) {          if ( ! (NULL == req.q.manpath ||
               validate_manpath(&req, req.q.manpath))) {
                 pg_error_badrequest(                  pg_error_badrequest(
                     "You specified an invalid manpath.");                      "You specified an invalid manpath.");
                 return(EXIT_FAILURE);                  return(EXIT_FAILURE);

Legend:
Removed from v.1.88  
changed lines
  Added in v.1.89

CVSweb