Re: [pgAdmin4][Patch]: RM1397 - File upload not working in File Manager in pgAdmin4 Runtime - Mailing list pgadmin-hackers

From Dave Page
Subject Re: [pgAdmin4][Patch]: RM1397 - File upload not working in File Manager in pgAdmin4 Runtime
Date
Msg-id CA+OCxoxYx3DhfNNYSYSQ2z=dDgXyfb4dQm9SLCEh_TMDVztsMQ@mail.gmail.com
Whole thread Raw
In response to [pgAdmin4][Patch]: RM1397 - File upload not working in File Manager in pgAdmin4 Runtime  (Surinder Kumar <surinder.kumar@enterprisedb.com>)
List pgadmin-hackers
Thanks, applied.

On Thu, Aug 4, 2016 at 1:59 PM, Surinder Kumar
<surinder.kumar@enterprisedb.com> wrote:
> Hi
>
> Issue:
> When a file is uploaded via FileManager it gets storage directory path from
> STORAGE_DIR config variable. but in case of pgAdmin4 Runtime it is set to
> None, that means STORAGE_DIR path should be the root directory.
>
> The path formed to file was "None/filename.ext'. but it should be
> '/filename.txt' which is now fixed.
> Please find attached patch and review.
>
> Thanks,
> Surinder Kumar
>
>
> --
> Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgadmin-hackers
>



--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: pgAdmin 4 commit: Fix file upload in File Manager in pgAdmin4 Runtime.
Next
From: Khushboo Vashi
Date:
Subject: [pgAdmin4][Patch]: RM 1527: XSS vulnerabilities