Re: [pgAdmin][RM4279] : Issue with File Browser Home button

Поиск
Список
Период
Сортировка
От Yogesh Jain
Тема Re: [pgAdmin][RM4279] : Issue with File Browser Home button
Дата
Msg-id CAGSMLAD62PeMc9VPZY-orDMPvaTX3bs5raHE+v49APMrYRhsAw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [pgAdmin][RM4279] : Issue with File Browser Home button  (Aditya Toshniwal <aditya.toshniwal@enterprisedb.com>)
Ответы Re: [pgAdmin][RM4279] : Issue with File Browser Home button
Список pgadmin-hackers
Hi Aditya,

Thanks for the feedback. Here is an updated patch, regarding the same.

Please Review.
PFA.

On Mon, Apr 27, 2020 at 9:05 AM Aditya Toshniwal <aditya.toshniwal@enterprisedb.com> wrote:
Hi Yogesh,

Just did an eyeball review. You've included homedir path in the response rendered JS file. You're exposing underlying directory structure to users even in server mode. This is not appropriate. This info should remain at the server and not at the client side.
+        homedir=os.path.expanduser('~'),

On Fri, Apr 24, 2020 at 7:26 PM Yogesh Jain <yogesh.jain@enterprisedb.com> wrote:
Hi Hackers,

Attached is the patch to fix the issue with the file browser Home button.
 
FYI : While clicking on the home button it was pointing to the user's root directory rather than home directory, which is fixed in this patch.

Please review.
PFA.

--
Regards,
Yogesh Jain
8982696654


--
Thanks and Regards,
Aditya Toshniwal
pgAdmin Hacker | Sr. Software Engineer | EnterpriseDB India | Pune
"Don't Complain about Heat, Plant a TREE"


--
Regards,
Yogesh Jain
8982696654
Вложения

В списке pgadmin-hackers по дате отправления:

Предыдущее
От: Akshay Joshi
Дата:
Сообщение: Re: Addition of support for base path in pgAdmin Web
Следующее
От: Yogesh Jain
Дата:
Сообщение: Re: [pgAdmin][RM4279] : Issue with File Browser Home button