[Pkg-mc-devel] Bug#800915: mc: Cannot login to ftp server with USER = webmaster at domain

roger crettol roger.crettol at bluewin.ch
Sun Oct 4 22:10:50 UTC 2015

Package: mc
Version: 3:4.8.13-3
Severity: normal
Tags: patch

My provider gives access to an ftp server, and has configured an FTP user
webmaster at domain.org.

This @ character has to be escaped to %40 to fit a proper URL systax, but the
FTP link logic in mc cannot handle these escpae sequences.

The accompanying patch fixes this problem fot the ftpfs login case - which was
my primary reason to dig into the program. The patch is taken against mc-4.8.13
as received by "apt-get source mc".

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.0.5-antix.2-amd64-smp (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages mc depends on:
ii  e2fslibs      1.42.13-1
ii  libc6         2.19-22
ii  libglib2.0-0  2.46.0-2
ii  libgpm2       1.20.4-6.1+b2
ii  libslang2     2.3.0-2+b1
ii  libssh2-1     1.5.0-2+b1
ii  mc-data       3:4.8.13-3

Versions of packages mc recommends:
ii  mime-support  3.59
ii  perl          5.20.2-6
ii  unzip         6.0-18

Versions of packages mc suggests:
pn  arj                        <none>
ii  bzip2                      1.0.6-8
pn  catdvi | texlive-binaries  <none>
pn  dbview                     <none>
pn  djvulibre-bin              <none>
ii  file                       1:5.25-2
ii  genisoimage                9:1.1.11-3
pn  gv                         <none>
pn  imagemagick                <none>
pn  links | w3m | lynx         <none>
ii  mupdf [pdf-viewer]         1.7a-1
pn  odt2txt                    <none>
ii  poppler-utils              0.26.5-4
ii  python                     2.7.9-1
pn  python-boto                <none>
pn  python-tz                  <none>
ii  xpdf [pdf-viewer]          3.03-17+b1
ii  zip                        3.0-11

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mc-url-unescape.patch.gz
Type: application/gzip
Size: 1123 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-mc-devel/attachments/20151005/4c331f08/attachment.bin>

More information about the Pkg-mc-devel mailing list