[Owncloud] Fresh eyes needed on bug 874
Thomas Tanghus
thomas at tanghus.net
Mon Jun 11 21:18:00 UTC 2012
On Monday 11 June 2012 23:44 Victor Dubiniuk wrote:
> I haven't played with master yet.
> As for 4.0.1/4.0.2 wget fails with the --spider option but if this option
> is omitted it works just fine:
>
> wget -rnd --auth-no-challenge --http-user=user --http-password=password -S
> "
> http://localhost/deo/402/index.php?app=contacts&getfile=export.php&bookid=1"
>
> The only thing I changed is the single line
> at OC_Util::redirectToDefaultPage
>
> public static function redirectToDefaultPage(){
> $_REQUEST['redirect_url'] =
> (isset($_SERVER['REQUEST_URI'])?$_SERVER['REQUEST_URI']:'');
>
>
> otherwise it downloaded the html/css/js/etc stuff from the Files app page,
Now it actually works both with and without --spider. Very weird, I have
tested a gazillion times. I'll wait a bit with closing the issue until I
really believe it ;-)
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response...
HTTP/1.1 200 OK
Date: Mon, 11 Jun 2012 21:11:54 GMT
Server: Apache/2.2.20 (Ubuntu)
X-Powered-By: PHP/5.3.6-13ubuntu3.7
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-
check=0
Pragma: no-cache
Content-Disposition: inline; filename=default.vcf
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: text/directory
Length: unspecified [text/directory]
Remote file exists.
--
Med venlig hilsen / Best Regards
Thomas Tanghus
More information about the Owncloud
mailing list