[Owncloud] Fresh eyes needed on bug 874

Victor Dubiniuk victor.dubiniuk at gmail.com
Mon Jun 11 20:44:31 UTC 2012


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 <thomas at tanghus.net> 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
> Owncloud at kde.org
> https://mail.kde.org/mailman/listinfo/owncloud
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/owncloud/attachments/20120611/1d8a3f6e/attachment.html>


More information about the Owncloud mailing list