Property 'URL' (of type string) not quoted in browser.js template when extending pgAdmin.Browser. Fixes #1504
Without quotes, the property can be mistakenly treated as a regex: e.g.: URL: /pgadmin/browser/, When that happens, JS engine throws "SyntaxError: invalid regular expression flag b" and the whole web interface freezes. This problem usually occurs when pgadmin is hosted inside a subdirectory (https://host/pgadmin/ instead of https://host/). Branch ------ master Details ------- http://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=19306934a08f786cba2cd156a14858e66602038c Author: daze <dazem...@mailinator.com> Modified Files -------------- web/pgadmin/browser/templates/browser/js/browser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers