[BACK]Return to cgi.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / mandoc

Diff for /src/usr.bin/mandoc/cgi.c between version 1.62 and 1.63

version 1.62, 2016/04/15 00:12:50 version 1.63, 2016/04/15 00:36:18
Line 1035 
Line 1035 
         else if (*path == '/')          else if (*path == '/')
                 path++;                  path++;
   
         if (*path != '\0' && access(path, F_OK) == -1) {          if (*path != '\0') {
                 path_parse(&req, path);                  path_parse(&req, path);
                 path = "";                  if (access(path, F_OK) == -1)
                           path = "";
         } else if ((querystring = getenv("QUERY_STRING")) != NULL)          } else if ((querystring = getenv("QUERY_STRING")) != NULL)
                 http_parse(&req, querystring);                  http_parse(&req, querystring);
   

Legend:
Removed from v.1.62  
changed lines
  Added in v.1.63