Closed (fixed)
Project:
Filebrowser
Version:
6.x-2.0-beta2
Component:
Directory Listing Pages
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Jun 2008 at 13:37 UTC
Updated:
23 Jul 2008 at 10:56 UTC
Hello,
I just installed Filebrowser 6.x-2.0-beta2 on top of Drupal 6.2. (I don't have mod_rewrite enabled)
I created a "directory listing" pointing to /mnt/public. Drupal named it node/2855.
Traversing directories is working pretty good. (Linked URL appear like this: http://www.site.org/?q=node/2855/Subfoldername)
My problem is I cannot access the files: I get "Page not found". Linked URL appear like this: http://www.site.org/?q=mnt/public/Subfoldername/File.pdf while it should be: http://www.site.org/mnt/public/Subfoldername/File.pdf (without "?q=").
Any advice on this issue?
Comments
Comment #1
Susurrus commentedSo that seems to be a bug. It looks like the URL generation for file links uses l() when it should just link to them directory. I'll propose a patch later today, but it should be a quick fix.
Comment #2
cst-1 commentedThank you for looking at it.
Another issue I found is that I cannot expose a "directory listing" to anonymous visitors.
Comment #3
Susurrus commentedPlease file a separate bug for that, cst. It makes it easier on me.
Comment #4
Susurrus commentedShould be fixed now. Check it out in the nightlies or next release.
Comment #5
cst-1 commentedI confirm the issue is fixed using 6.x-2.x-dev of 2008-Jul-02.
Thanks a lot Susurrus.
Comment #6
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.