mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fix connection string validation for pgAgent jobs. Fixes #2655
This commit is contained in:
parent
6d7b54eb62
commit
d757d8698d
@ -241,7 +241,7 @@ define('pgadmin.node.pga_jobstep', [
|
||||
} else {
|
||||
this.errorModel.unset('jstdbname');
|
||||
var msg,
|
||||
r = /\s*\b(\w+)\s*=\s*('([^'\\]*(?:\\.[^'\\]*)*)'|\w*)/g;
|
||||
r = /\s*\b(\w+)\s*=\s*('([^'\\]*(?:\\.[^'\\]*)*)'|[\w|\.]*)/g;
|
||||
val = this.get('jstconnstr');
|
||||
if (
|
||||
_.isUndefined(val) || _.isNull(val) ||
|
||||
|
Loading…
Reference in New Issue
Block a user