-- Leo's gemini proxy

-- Connecting to gopher.zcrayfish.soy:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini;

rom zcrayfish@gmail.com Sat Aug 29 22:30:42 2020

ate: Sat, 29 Aug 2020 22:30:40

rom: Zachary Lee Andrews <zcrayfish@gmail.com>

o: lynx-dev@nongnu.org

ubject: Issue with lynx --source and gopher menus with h gophertype

gopher://:/

gopher://:/

reetings to all,

gopher://:/

have noticed that lynx2.9.0dev.5 when converting a gopher menu to HTML

e.g. by using `lynx --source gopher://gopher.zcrayfish.soy/1/irc') when

gophertype h is encountered and an hyperlink/anchor is generated for

aid type h resource... If the directory delimiter used is the file

ath part of the URL is '/' (as-is typical for most machines these days),

he first one will be omitted in the HTML output.

gopher://:/

gopher://:/

ere's an example URL:

opher://gopher.zcrayfish.soy/1/irc/lynxtest2

gopher://:/

n my example I included a gophertype h file repeated three times with

ommonly used directory delimiters: forwardslash (/), backslash (\), and

olon (:), like so:

gopher://:/

sixel.5.html

sixel.5.html

sixel.5.html

gopher://:/

gopher://:/

ynx --source converts the gopher menu to this:

gopher://:/

HTML) <A HREF="//gopher.zcrayfish.soy:70/hirc/lynxtest2/sixel.5.html"

ITLE="sixel.5.html">sixel.5.html</A>

HTML) <A

REF="//gopher.zcrayfish.soy:70/h%5circ%5clynxtest2%5csixel.5.html"

ITLE="sixel.5.html">sixel.5.html</A>

HTML) <A

REF="//gopher.zcrayfish.soy:70/h%3airc%3alynxtest2%3asixel.5.html"

ITLE="sixel.5.html">sixel.5.html</A>

gopher://:/

n the first example, lynx omits the first / delimiter from the anchor.

t does as expected when \ or : is used.

gopher://:/

gopher://:/

hanks,

achary L. Andrews

-- Response ended

-- Page fetched on Fri May 17 22:05:19 2024