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

Diff for /mandoc/cgi.c between version 1.77 and 1.78

version 1.77, 2014/07/19 13:15:11 version 1.78, 2014/07/21 15:45:17
Line 564  pg_searchres(const struct req *req, struct manpage *r,
Line 564  pg_searchres(const struct req *req, struct manpage *r,
                  * without any delay.                   * without any delay.
                  */                   */
                 printf("Status: 303 See Other\r\n");                  printf("Status: 303 See Other\r\n");
                 printf("Location: %s/%s/%s?",                  printf("Location: http://%s%s/%s/%s?",
                     scriptname, req->q.manpath, r[0].file);                      HTTP_HOST, scriptname, req->q.manpath, r[0].file);
                 http_printquery(req);                  http_printquery(req);
                 printf("\r\n"                  printf("\r\n"
                      "Content-Type: text/html; charset=utf-8\r\n"                       "Content-Type: text/html; charset=utf-8\r\n"

Legend:
Removed from v.1.77  
changed lines
  Added in v.1.78

CVSweb