[Owncloud] Public sharing and password protection broken in 4.5.3 ?
Jan-Christoph Borchardt
hey at jancborchardt.net
Fri Nov 30 15:37:09 UTC 2012
That looks like a bug, can you please report it in our issue tracker at
http://github.com/owncloud/core/issues ?
Thanks!
On Fri, Nov 30, 2012 at 9:53 AM, Christian Schwerdt <
mailinglists at cschwerdt.de> wrote:
> Hi,
>
> smae problem with errors at the top of the page.
>
> This was my fix: replace $_GET['path'] with $getPath in line 236:
>
>
> Index: public.php
> ==============================**==============================**=======
> --- public.php (revision 37)
> +++ public.php (working copy)
> @@ -233,7 +233,7 @@
> $breadcrumb[] = array('dir' => '/', 'name' =>
> basename($basePath));
>
> //add subdir breadcrumbs
> - foreach (explode('/', urldecode($_GET['path'])) as
> $i) {
> + foreach (explode('/', urldecode($getPath)) as $i) {
> if ($i != '') {
> $pathtohere .= '/'.$i;
> $breadcrumb[] = array('dir' =>
> $pathtohere, 'name' => $i);
>
>
> Am 30.11.2012 04:10, schrieb Erik R:
>
>> Sharing a folder with lots of files in it gives me these errors at the
>> top of the page:
>>
>> *Warning*: Cannot modify header information - headers already sent by
>>
>> (output started at
>> /home/slmmr/public_html/oc/**apps/files_sharing/public.php:**236) in
>> */home/slmmr/public_html/oc/**lib/template.php* on line *165*
>>
>> *Warning*: Cannot modify header information - headers already sent by
>>
>> (output started at
>> /home/slmmr/public_html/oc/**apps/files_sharing/public.php:**236) in
>> */home/slmmr/public_html/oc/**lib/template.php* on line *166*
>>
>> *Warning*: Cannot modify header information - headers already sent by
>>
>> (output started at
>> /home/slmmr/public_html/oc/**apps/files_sharing/public.php:**236) in
>> */home/slmmr/public_html/oc/**lib/template.php* on line *164*
>>
>> *Warning*: Cannot modify header information - headers already sent by
>>
>> (output started at
>> /home/slmmr/public_html/oc/**apps/files_sharing/public.php:**236) in
>> */home/slmmr/public_html/oc/**lib/template.php* on line *165*
>>
>> *Warning*: Cannot modify header information - headers already sent by
>>
>> (output started at
>> /home/slmmr/public_html/oc/**apps/files_sharing/public.php:**236) in
>> */home/slmmr/public_html/oc/**lib/template.php* on line *166*
>>
>> *Warning*: Cannot modify header information - headers already sent by
>>
>> (output started at
>> /home/slmmr/public_html/oc/**apps/files_sharing/public.php:**236) in
>> */home/slmmr/public_html/oc/**lib/template.php* on line *164*
>>
>> *Warning*: Cannot modify header information - headers already sent by
>>
>> (output started at
>> /home/slmmr/public_html/oc/**apps/files_sharing/public.php:**236) in
>> */home/slmmr/public_html/oc/**lib/template.php* on line *165*
>>
>> *Warning*: Cannot modify header information - headers already sent by
>>
>> (output started at
>> /home/slmmr/public_html/oc/**apps/files_sharing/public.php:**236) in
>> */home/slmmr/public_html/oc/**lib/template.php* on line *166*
>>
>> *Warning*: Cannot modify header information - headers already sent by
>>
>> (output started at
>> /home/slmmr/public_html/oc/**apps/files_sharing/public.php:**236) in
>> */home/slmmr/public_html/oc/**lib/template.php* on line *164*
>>
>> *Warning*: Cannot modify header information - headers already sent by
>>
>> (output started at
>> /home/slmmr/public_html/oc/**apps/files_sharing/public.php:**236) in
>> */home/slmmr/public_html/oc/**lib/template.php* on line *165*
>>
>> *Warning*: Cannot modify header information - headers already sent by
>>
>> (output started at
>> /home/slmmr/public_html/oc/**apps/files_sharing/public.php:**236) in
>> */home/slmmr/public_html/oc/**lib/template.php* on line *166*
>> *
>> *
>> *Also, when I try to password protect the share, it doesn't take effect.*
>>
>>
>> ______________________________**_________________
>> Owncloud mailing list
>> Owncloud at kde.org
>> https://mail.kde.org/mailman/**listinfo/owncloud<https://mail.kde.org/mailman/listinfo/owncloud>
>>
> ______________________________**_________________
> Owncloud mailing list
> Owncloud at kde.org
> https://mail.kde.org/mailman/**listinfo/owncloud<https://mail.kde.org/mailman/listinfo/owncloud>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/owncloud/attachments/20121130/c21b7588/attachment.html>
More information about the Owncloud
mailing list