Re: [pgAdmin4[Patch]: RM#1319 - Unable to select sql file through query tool on windows operating system - Mailing list pgadmin-hackers

From Dave Page
Subject Re: [pgAdmin4[Patch]: RM#1319 - Unable to select sql file through query tool on windows operating system
Date
Msg-id CA+OCxoyAu2Y3CZFiini2qgKwEr4XLHCisyZfZiPhdTKq=iSWqg@mail.gmail.com
Whole thread Raw
In response to [pgAdmin4[Patch]: RM#1319 - Unable to select sql file through query tool on windows operating system  (Surinder Kumar <surinder.kumar@enterprisedb.com>)
List pgadmin-hackers
Thanks, committed.

On Thu, Jun 9, 2016 at 1:24 PM, Surinder Kumar
<surinder.kumar@enterprisedb.com> wrote:
> Hi,
>
> Please find attached patch with fixes:
> 1) Unable to select sql file through query tool on windows OS.
> In file_manager.js, we are stripping initial slash '/' from the path
> obtained.
> but we should not strip if it is full path like
> 'c:/path/to/dir/filename.ext'
>
> 2) Handle directory path if STORAGE_DIR is None.
> proper checks are added.
>
> Please 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 selection on Windows. Fixes #1319
Next
From: Dave Page
Date:
Subject: pgAdmin 4 commit: Fix re-display of privileges on the grant wizard if t