Download & Extend

view directory listings + allow private downloads

Project:Filebrowser
Version:6.x-2.0-rc9
Component:Administrative Interface
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

I recenty upgraded to the latest dev release from the dev release that dates back to August 25, 2008, and I noticed two issues.

  1. "view directory listings" permission seems to have no effect; even if I leave the box unchecked for anonymous users, they still have full access to directory listings;
  2. if "allow private downloads" is unchecked, download paths are wrong and lead to "page not found" errors. For instance, if I enter something like "documents" as a relative download path, AND leave unchecked the "allow private downloads" box, the resulting url misses its leading / and appears as "http://www.example.comdocuments" instead of "http://www.example.com/documents". Absolute paths do not work eiher: "/var/www/htdocs/main/documents" gives back url such as "http://www.example.com/var/www/htdocs/main/documents".

Every thing worked fine in the above quoted dev release. So I temporarily switched back to this one.

Thank you very much for this excellent module!

Robert

Comments

#1

Assigned to:Anonymous» ralessi

#2

Am I the only one to experience this issue? Can anybody tell me what I did wrong?

R

#3

Assigned to:ralessi» Anonymous

#4

Can you tell me if it is still the case in RC8 ?

#5

Status:active» fixed

#6

Unfortunately, it is.

Download paths are still wrong the same way; however, they are correct if the "allow private downloads" box is checked.

I also unsuccessfuly tried the new "upload file" feature (which is really great!): it leads to a blank page.

I'll keep trying this today, and also keep you posted.

My web site is "http://www.robertalessi.net", and the filebrowser node address is "http://www.robertalessi.net/node/193"

Thank you very much for your reply.

Robert

#7

Status:fixed» active

#8

@ralessi
1/ for the upload, what is the error message you have in apache error logs ? Anyway, I have an idea for this problem, normally fixed in RC9 (already fixed in CVS).
2/ For you path problem can you give me :
- the folder you filled when editing filebrowser node
- the state of the check-box "private download"
- the wrong full URL you have for a faulty file.

#9

I just upgraded to RC9.

1. the upload file feature works fine now. If you are still interested in having my apache error logs, I can reinstall back the rc8 and reproduce the error. But I think you're though now!
2. as regards the 'path problem':
- I created a directory "documents" at the root of my drupal installation
- I typed exactly "documents" as a relative path when editing the filebrowser node
- leaved the "use private downloads" box unchecked
- the wrong full URL I am getting for a given faulty file located in the documents/ directory is exactly "http://www.robertalessi.netdocuments/" where "http://www.robertalessi.net" is the address of my web site.

If you want to check this out by yourself, you can go to "http://www.robertalessi.net/node/193"

This problem disappears and everything works fine if the "use private downloads" is checked. In this case, the download URL for a given file is "http://www.robertalessi.net/filebrowser_download/193/"

Many thanks again for your efforts!

Robert

#10

@Yoran

The above mentioned address (http://www.robertalessi.net/node/193) changed. To get the new one, replace 193 with 197 at the end of the URL.

R

#11

Version:6.x-2.x-dev» 6.x-2.0-rc9

#12

Status:active» fixed

Ok, I think I have it. Normally Fixed in RC10.

#13

Everything works fine now. Great job, many thanks for that!

Robert

#14

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here