Fixed CSRF errors when pgAdmin opened in an iframe on safari browser. Fixes #5675

This commit is contained in:
Aditya Toshniwal 2020-07-17 11:55:24 +05:30 committed by Akshay Joshi
parent 64f5253bd3
commit bd15d2d0f7
2 changed files with 3 additions and 1 deletions

View File

@ -41,4 +41,5 @@ Bug fixes
| `Issue #5633 <https://redmine.postgresql.org/issues/5633>`_ - Ensure that create RLS Policy menu should not be visible for catalog objects.
| `Issue #5647 <https://redmine.postgresql.org/issues/5647>`_ - Fixed an issue where difference DDL is showing the wrong SQL when changing the policy owner.
| `Issue #5662 <https://redmine.postgresql.org/issues/5662>`_ - Fixed accessibility issue where few dialogs are not rendering properly when we zoomed in browser window 200% and screen resolution is low.
| `Issue #5673 <https://redmine.postgresql.org/issues/5673>`_ - Fixed an issue where fetching the schema throws an error if the database is not connected in Schema Diff.
| `Issue #5673 <https://redmine.postgresql.org/issues/5673>`_ - Fixed an issue where fetching the schema throws an error if the database is not connected in Schema Diff.
| `Issue #5675 <https://redmine.postgresql.org/issues/5675>`_ - Fixed CSRF errors when pgAdmin opened in an iframe on safari browser.

View File

@ -36,6 +36,7 @@ class _PGCSRFProtect(CSRFProtect):
'pgadmin.tools.debugger.direct_new',
'pgadmin.tools.schema_diff.panel',
'pgadmin.tools.schema_diff.ddl_compare',
'pgadmin.authenticate.login'
]
for exempt in exempt_views: