tats / w3m

Debian's w3m: WWW browsable pager

Home Page:https://tracker.debian.org/pkg/w3m

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

w3m does not handle all valid file names

rkta opened this issue · comments

w3m does not handle all valid file names

% touch a#a.html b?b.html c%20.html
% w3m a#a.html b?b.html c%20.html
w3m: Can't load a#a.html.
w3m: Can't load b?b.html.
w3m: Can't load c%20.html.

% w3m file://$PWD/c%20.html
w3m: Can't load file:///tmp/tmp.VPiZ2er7xp/c%20.html.

Note, that it also fails with other names that contain percent-encoded
chars.

JFTR, one way to get it to work:

Go to 'Option Setting Panel' -> 'Network Settings',
set 'Treat argument without scheme as URL' to 'NO'.

Caveat:

I still consider this a bug.