cheryl icon indicating copy to clipboard operation
cheryl copied to clipboard

Clicking on file sends to wrong path

Open pikurasa opened this issue 10 years ago • 2 comments

When you click on the file to see it, it sends the user to the wrong path.

pikurasa avatar Sep 22 '15 02:09 pikurasa

provide steps to reproduce please

spacedevin avatar Sep 22 '15 02:09 spacedevin

  1. Copy build/Cheryl.php to intended public folder
  2. Make sure that Cheryl.php config has a folder path where you intend to put stuff (line 49 ... 'files', for example)
  3. mkdir files in public folder
  4. Open in browser
  5. Upload a file (this works and puts it in the right folder)
  6. Click on uploaded file (this sends you to my.com/filename.txt instead of my.com/files/filename.txt -- of course, adjusting the path manually in the browser works, but how are others suppose to know that!)

I am trying to find some software to host educational materials that are both copyleft creative commons and made with free software. It will be a kind of repository. Sometime in the future I might do some version control system, like gitorious, but in the meantime I just need a "go to" place. I need safe admin login and users need anonymous login without write permissions. Can you help me out? Do you know any software that does this?

Devin

On 09/21/2015 10:22 PM, Devin Smith wrote:

provide steps to reproduce please


Reply to this email directly or view it on GitHub: https://github.com/arzynik/cheryl/issues/32#issuecomment-142160624

Devin Ulibarri (505) 379-6253 www.devinulibarri.com

pikurasa avatar Sep 22 '15 13:09 pikurasa