I have a directory named 'foo%bar' with a text file named 'foo' In the command line if I type: links foo%bar/foo links will start and display the message: Error loading file:///home/louipc25/foo%bar/foo No such file or directory I can still view the file by typing: links . then browsing to the foo%bar/foo ALWAYS reproducable Portage 2.1_pre7-r5 (default-linux/x86/2006.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-gentoo-r1 i686) ================================================================= System uname: 2.6.15-gentoo-r1 i686 Pentium III (Coppermine) Gentoo Base System version 1.6.14 dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://adelie.polymtl.ca/ ftp://gentoo.arcticnetwork.ca/pub/gentoo/ http://gentoo.arcticnetwork.ca/ http://gentoo.mirrored.ca/ ftp://gentoo.mirrored.ca/ http://gentoo.osuosl.org/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://trumpetti.atm.tut.fi/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/ http://cdot.senecac.on.ca/software/gentoo/" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage" USE="x86 X aac aim alsa apache2 apm avi berkdb bitmap-fonts bzip2 cdinstall cdparanoia cdr cjk clamav cli crypt ctype cups dba dri dvd dvdr dvdread emboss encode esd expat fastbuild ffmpeg foomaticdb force-cgi-redirect fortran ftp gd gdbm gif gphoto2 gpm gstreamer gtk gtk2 imlib ipv6 isdnlog jabber jack jpeg libg++ libwww memlimit mikmod mime mmx mp3 mpeg msn mule mysql ncurses nls nptl ogg openal opengl oss pam pcre pdf pdflib perl php png posix pppd python quicktime readline scanner sdl session simplexml soap sockets spell spl sse ssl tcpd tokenizer truetype truetype-fonts type1-fonts udev unicode vcd videos vorbis win32codecs wxwindows xml xmms xsl xv yahoo zlib elibc_glibc kernel_linux userland_GNU" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Ah I forgot to mention that it seems to have something to do with the percentage sign (%) in the directory name. Any directory with the format foo%bar.
Hmmm, sorry, I can't quite reproduce it here. Is this a links only problem? You may want to contact upstream about it.
Yeah this is concerning links, but I figured that you folks would pass the bug along if needed eh?
I can, I just thought maybe you would like to report it yourself, since I cannot reproduce this at all... The upstream developers e-mails are listed at the bottom of this page: http://links.twibright.com/development.php
Alright I passed it on.
I don't know if I should fix it. Command line is supposed to take URL, not filename, and in URL '%' followed by hex code is used to write non-printable charactes. So foo%bar really tries to open file "FOO" Character 0xBA "R". BTW. If someone writes links file.html#boo, what do you expect? --- should it interpret as URL --- open file.html and go to location "boo" or should it interpret as filename --- open file "file.html#boo". I think the first is more useful.
(In reply to comment #6) > BTW. If someone writes links file.html#boo, what do you expect? --- should it > interpret as URL --- open file.html and go to location "boo" or should it > interpret as filename --- open file "file.html#boo". Yeah, the first makes more sense in the end. Is it possible to switch behaviour with a command line flag? (Don't parse URL)
Leaving this to upstream.