[w3m-dev-en 00255] Re: bug in ':' function?

From: Peter Poeml (poeml@suse.de)
Date: Tue Oct 24 2000 - 03:04:31 CDT

  • Next message: Norman Walsh: "[w3m-dev-en 00256] Re: bug in ':' function?"

    On Mon, Oct 23, 2000 at 10:48:01 -0700, Gary Johnson wrote:
    > I think I may have found a bug in the colon (':') function, described
    > on the Help screen as, "Mark URL-like strings as anchors." I am not
    > sure that w3m's behavior is incorrect--it just didn't do what I expected
    > it to do.
    >
    > I received e-mail containing the following URL:
    >
    > http://www.kuro5hin.org/?op=displaystory;sid=2000/10/20/24336/134
    >
    > (The e-mail was "YOUR LINUX TODAY NEWSLETTER FOR October 22, 2000".) I
    > used w3m to read the message and typed ':' to highlight the URLs. w3m
    > highlighted only the portion of this URL up to the semicolon (';'),
    > i.e., it treated the semicolon as a delimiter instead of as part of the
    > URL. If a semicolon is a valid character within a URL, w3m should have
    > highlighted it and the rest of the URL as well.

    According to rfc1738 (http://www.landfield.com/rfcs/rfc1738.html)
    the semicolon is a valid character in certain contents: in ftp URLs, and
    in prospero URLs (Prospero Directory Service).

    In http URLs it is claimed to be "reserved" -- whatever that means.

    One example: <URL:ftp://ds.internic.net/rfc/rfc1436.txt;type=a>

    Normally, the separator character between two arguments appended to a
    URL in a GET request is a n ampersand (&).

    This leads me to saying that the URL you quoted is not correct.

    > BTW, this is a really useful feature of w3m!

    Indeed, I have already used it extensively on one occasion.

    Have fun
    Peter



    This archive was generated by hypermail 2b29 : Tue Oct 24 2000 - 03:25:49 CDT