25.12 annoyace, (bug?): base upload path only in web root

Please report bugs and any annoyances here. Kindly include all possible details: steps to reproduce, expected result, actual result, screenshots, ... etc.
Post Reply
User avatar
onoehring
AppGini Super Hero
AppGini Super Hero
Posts: 1231
Joined: 2019-05-21 22:42
Location: Germany
Contact:

25.12 annoyace, (bug?): base upload path only in web root

Post by onoehring » 2025-07-30 07:10

Hi
I see, we can easily define / change the upload path (in the image I changed from images to uploads).
However, this does not work, if I use the parent directory (..)

Code: Select all

../uploads
if the AG application resides in the root of by webhost .... and this would mean placing the uploads folder outside of webroot.

This would be important as this would secure all uploaded files by default (if links to the file go through user management).
base_upload.png
base_upload.png (3.66 KiB) Viewed 5228 times
Olaf

User avatar
a.gneady
Site Admin
Posts: 1354
Joined: 2012-09-27 14:46
Contact:

Re: 25.12 annoyace, (bug?): base upload path only in web root

Post by a.gneady » 2025-07-31 12:33

You're right. AppGini apps don't currently support upload paths outside the web server's document root, but we have this on our backlog to fix in future releases.
:idea: AppGini plugins to add more power to your apps:


Post Reply