w3m icon indicating copy to clipboard operation
w3m copied to clipboard

w3m does not handle all valid file names

Open rkta opened this issue 3 years ago • 2 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.

rkta avatar Jan 30 '22 12:01 rkta

Previous BTS report: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=537761

rkta avatar Apr 18 '22 09:04 rkta

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:

  • 'w3m debian.org' doesn't work any more. You need to use
  • 'w3m https://debian.org' works.

I still consider this a bug.

rkta avatar Apr 23 '22 14:04 rkta

Fixed by https://github.com/tats/w3m/pull/235

tats avatar Dec 25 '22 01:12 tats