diff options
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | file.c | 4 |
2 files changed, 9 insertions, 3 deletions
@@ -1,3 +1,9 @@ +2003-08-29 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03957] Location: from local-CGI + * file.c (loadGeneralFile): don't parse header for local file + redirected by Location: from local-CGI + 2003-08-12 TSUCHIYA Masatoshi <tsuchiya@pine.kuee.kyoto-u.ac.jp> * [w3m-dev 03950] rel attribute of anchor tag @@ -7989,4 +7995,4 @@ a * [w3m-dev 03276] compile error on EWS4800 * release-0-2-1 * import w3m-0.2.1 -$Id: ChangeLog,v 1.857 2003/08/11 17:33:08 ukai Exp $ +$Id: ChangeLog,v 1.858 2003/08/29 14:49:46 ukai Exp $ @@ -1,4 +1,4 @@ -/* $Id: file.c,v 1.225 2003/07/07 15:39:43 ukai Exp $ */ +/* $Id: file.c,v 1.226 2003/08/29 14:49:46 ukai Exp $ */ #include "fm.h" #include <sys/types.h> #include "myctype.h" @@ -1848,6 +1848,7 @@ loadGeneralFile(char *path, ParsedURL *volatile current, char *referer, t = f.guess_type; } else if (searchHeader) { + searchHeader = SearchHeader = FALSE; if (t_buf == NULL) t_buf = newBuffer(INIT_BUFFER_WIDTH); readHeader(&f, t_buf, searchHeader_through, &pu); @@ -1868,7 +1869,6 @@ loadGeneralFile(char *path, ParsedURL *volatile current, char *referer, t = checkContentType(t_buf); if (t == NULL) t = "text/plain"; - searchHeader = SearchHeader = FALSE; } else if (DefaultType) { t = DefaultType; |