[w3m-dev-en 00258] Patch for bug in HTTP-EQUIV handling in file.c

From: Lars Bjoennes (larslist@online.no)
Date: Mon Oct 30 2000 - 06:25:14 CST

  • Next message: Lars Bjoennes: "[w3m-dev-en 00259] Further development of w3m"

    The following doesn't work in w3m:

    <META HTTP-EQUIV="refresh" CONTENT="0; URL=index2.html">

    However, this works:

    <META HTTP-EQUIV="refresh" CONTENT="0;URL=index2.html">

    A SKIP_BLANKS(q) is missing in file.c, causing w3m to choke
    on whitespace between ; and URL=

    Test with <URL: http://msdn.microsoft.com > *grin*

    *** file.c Fri Jul 7 22:24:32 2000
    --- file.c.mod Thu Oct 26 17:50:05 2000
    ***************
    *** 3319,3324 ****
    --- 3319,3325 ----
                  Str s_tmp = NULL;
      
                  while (*q) {
    + SKIP_BLANKS(q);
                      if (!strncasecmp(q, "url=", 4)) {
                          q += 4;
                          if (*q == '\"') /* " */



    This archive was generated by hypermail 2b29 : Mon Oct 30 2000 - 06:42:49 CST