pg-connection-string
Advanced tools
Comparing version 2.6.0 to 2.6.1
@@ -52,3 +52,4 @@ 'use strict' | ||
config.host = decodeURIComponent(hostname) | ||
} else if (hostname) { | ||
} else if (hostname && /^%2f/i.test(hostname)) { | ||
// Only prepend the hostname to the pathname if it is not a URL encoded Unix socket host. | ||
result.pathname = hostname + result.pathname | ||
@@ -55,0 +56,0 @@ } |
{ | ||
"name": "pg-connection-string", | ||
"version": "2.6.0", | ||
"version": "2.6.1", | ||
"description": "Functions for dealing with a PostgresSQL connection string", | ||
@@ -39,3 +39,3 @@ "main": "./index.js", | ||
], | ||
"gitHead": "14b840e96e57fc0617b5c4758f6318f774148ee4" | ||
"gitHead": "eaafac36dc8f4a13f1fecc9e3420d35559fd8e2b" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9005
102