Article View: alt.privacy.anon-server
Article #239842Re: URL Retrieval bug
From: Zax
Date: Fri, 16 Jul 2010 08:05
Date: Fri, 16 Jul 2010 08:05
35 lines
2282 bytes
2282 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Fri, 16 Jul 2010 07:58:00 +0200 (CEST), Nomen Nescio wrote in
Message-Id: <589b294ef98c02b28d7d4bfe455c7484@dizum.com>:
> Why not just encode everything base64? Then the URL wouldn't have to
> be analyzed at all.
Nothing is analysed, accept to the extent of working out which MIME
encoding fits the content. That's done on file extension which is why
it fails on binary content (like PDFs) where the url doesn't end with
a .ext style extension.
It could base64 encode everything, including the fetched HTML but I'm not
convinced this is going to improve the user-friendliness of the service.
One possible solution would be to make base64 encoding user
configurable. Another would be to analyse the content of the fetched
url to see if it's binary or markup/text and encode it accordingly.
> What's being using to fetch content? curl? wget? lynx -source?
Python's urllib2 library.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAkxAEtQACgkQlKZ6CY7Vd0NPAgCgh/n5YqFHT2BxfBxWWzO0O3uU
BI8Anim6FFkPZ8UVNGwdMQbZ2N6PerQ0
=6aF5
-----END PGP SIGNATURE-----
--
pub 1024D/8ED57743 2003-07-08 Bananasplit Operator
Key fingerprint = 796F 67E0 E890 A0BB BDAE EBB4 94A6 7A09 8ED5 7743
uid Admin <admin.bananasplit.info>
Technical Details
Message-ID:
<slrni404mk.2jj.admin@fleegle.mixmin.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.straub-nv.de!open-news-network.org!news.mixmin.net!news.bananasplit.info!not-for-mailReferences:
<slrni3gn27.4mg.admin@fleegle.mixmin.net> <589b294ef98c02b28d7d4bfe455c7484@dizum.com>Show Full Headers
Complete Article Headers
Message-ID: <slrni404mk.2jj.admin@fleegle.mixmin.net> Subject: Re: URL Retrieval bug Date: Fri, 16 Jul 2010 08:05:40 +0000 From: Zax <admin@bananasplit.info> References: <slrni3gn27.4mg.admin@fleegle.mixmin.net> <589b294ef98c02b28d7d4bfe455c7484@dizum.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.straub-nv.de!open-news-network.org!news.mixmin.net!news.bananasplit.info!not-for-mail Newsgroups: alt.privacy.anon-server Organization: Mixmin Lines: 35 X-Complaints-To: abuse@bananasplit.info NNTP-Posting-Date: Fri, 16 Jul 2010 08:05:40 +0000 (UTC) User-Agent: slrn/pre1.0.0-18 (Linux)