Package: elinks
Version: 0.12~pre6-4
Severity: normal

Dear Maintainer,

a web site embedded a picture of a horse in PNG format using a data URI.

I navigated to the picture using elinks and chose to save it.

Saving the picture yielded a file containing twice base64-encoded PNG data.

Test case:

1. elinks 
'data:image/png;charset=binary;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQAAAAA3iMLMAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAJiS0dEAAHdihOkAAAACXBIWXMAAABIAAAASABGyWs+AAAAMUlEQVQI12P8z8AIRL9ZGB/LMF7UY2ysY2yYzHjBkPGDJBjJMn6+w/j1EePbU4xglQCjZBKZqbPdlAAAAABJRU5ErkJggg=='

2. save content locally in a file called “testpng”.

3. exit elinks.

4. ; file --mime testpng
→ testpng: text/plain; charset=us-ascii

5. ; base64 -d testpng | base64 -d | file --mime -
→ /dev/stdin: image/png; charset=binary


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.13-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages elinks depends on:
ii  elinks-data       0.12~pre6-4
ii  libbz2-1.0        1.0.6-5
ii  libc6             2.18-5
ii  libcomerr2        1.42.9-3
ii  libexpat1         2.1.0-4
ii  libfsplib0        0.11-2
ii  libgnutls26       2.12.23-15
ii  libgpm2           1.20.4-6.1
ii  libgssapi-krb5-2  1.12.1+dfsg-1
ii  libidn11          1.28-2
ii  libk5crypto3      1.12.1+dfsg-1
ii  libkrb5-3         1.12.1+dfsg-1
ii  libperl5.18       5.18.2-3
ii  libtre5           0.8.0-4
ii  zlib1g            1:1.2.8.dfsg-1

elinks recommends no packages.

Versions of packages elinks suggests:
pn  elinks-doc  <none>

-- no debconf information


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to