Re: [pgAdmin4][Patch]: RM1397 - File upload not working in File Manager in pgAdmin4 Runtime

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Surinder Kumar <surinder(dot)kumar(at)enterprisedb(dot)com>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: [pgAdmin4][Patch]: RM1397 - File upload not working in File Manager in pgAdmin4 Runtime
Date: 2016-08-04 15:34:54
Message-ID: CA+OCxoxYx3DhfNNYSYSQ2z=dDgXyfb4dQm9SLCEh_TMDVztsMQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Thanks, applied.

On Thu, Aug 4, 2016 at 1:59 PM, Surinder Kumar
<surinder(dot)kumar(at)enterprisedb(dot)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(at)postgresql(dot)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

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Khushboo Vashi 2016-08-05 09:31:52 [pgAdmin4][Patch]: RM 1527: XSS vulnerabilities
Previous Message Dave Page 2016-08-04 15:34:33 pgAdmin 4 commit: Fix file upload in File Manager in pgAdmin4 Runtime.