The output of wget -O and file -i is /tmp/bla.php: application/ogg; charset=binary
This is what we expect, right? Seems puzzling. This is the URL I used: http://electro-music.com/forum/download.php?id=28963 On 01/15/12 09:14, Romain Beauxis wrote: > 2012/1/11 Audiodef Online<[email protected]>: >> Hi Romain, > Hi, > >> I looked at the PACKAGES file, and there's nothing called "magic" for either >> 1.0.0 or 0.9.3. There's no dir in the source tarball with "magic" in the >> name. Yet, autodetection by mime type works for 0.9.3 but not for 1.0.0. >> This is on my system: >> >> /usr/lib32/libmagic.so >> /usr/lib32/libmagic.so.1 >> /usr/lib32/libmagic.so.1.0.0 >> /usr/lib64/libmagic.so >> /usr/lib64/libmagic.so.1 >> /usr/lib64/libmagic.so.1.0.0 >> /usr/share/man/man3/libmagic.3.bz2 >> >> Also, when I add URL's that actually end in the filename, I can see from the >> logs that autodetection uses the mime method in 1.0.0. The difference >> between 1.0.0 and 0.9.3 is that 0.9.3 stores the temporary file with an .osb >> extension while 1.0.0 stores the temporary file as a .php file. > So it seems that ocaml-magic support is enabled for you then. > > What is the output of: > wget http://...some.php?foo=bar -O /tmp/bla.php > file -i /tmp/bla.php > ? > > Romain > -- My music: http://audiodef.com Synthetronica: http://synthetronica.com Male survivors of domestic violence: http://abusedmen.org ------------------------------------------------------------------------------ RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 _______________________________________________ Savonet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
