Hi Thomas, 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, --- Victor Dubiniuk On Mon, Jun 11, 2012 at 4:36 PM, Thomas Tanghus <[email protected]> wrote: > I'm lost in this regression from OC 3 [1]. When I log in with HTTP Basic > Auth > I end up in an endless loop. I made 2 commits [1][2] that redirects to > REQUEST_URI > after log in, but somewhere the user name gets stripped from the session > and I end > up in a loop to OC::$WEBROOT. > As I know basically zilch about how the user auth works, I'm afraid to > break more > than I fix if I try to change more. > > [1] http://bugs.owncloud.org/thebuggenie/owncloud/issues/oc-874 > [2] > https://gitorious.org/owncloud/owncloud/commit/2ee809fd8636643c0ccc69bcf023ce2c404143e2 > [3] > https://gitorious.org/owncloud/owncloud/commit/4f6978c30f5e64c4194ebe46c8c78d8ef1c002fd > > -- > Med venlig hilsen / Best Regards > > Thomas Tanghus > _______________________________________________ > Owncloud mailing list > [email protected] > https://mail.kde.org/mailman/listinfo/owncloud >
_______________________________________________ Owncloud mailing list [email protected] https://mail.kde.org/mailman/listinfo/owncloud
