[buddypress-dev] weird download links on trac

Mike Little mike at zed1.com
Tue Sep 16 12:24:42 GMT 2008


By the way, Barry,
The reason wget didn't work is that the url for the zip file has
ampersands '&' in it. Which the shell steals and interprets as an
instruction to run wget (with only half the url) in the background.
enclose the url in single quotes and it downloads, though it still
doesn't get the name right. wget doesn't automatically honour the
'Content-Disposition: inline;; filename=' header.

Links on the other hand does honour the header and save with the
correct filename. It requires some interaction though.

Hope that helps.

Mike
-- 
Mike Little
http://zed1.com/


More information about the buddypress-dev mailing list