Release 1.3.0: adopt shared @simpleworkjs/* packages; fix LDAP filter injection
Rewire onto the shared @simpleworkjs/oidc-client, /ldap, and /app-stack
packages (deleting the byte-identical local forks of the same code), close the
LDAP filter-injection in User.get by routing the username through escapeFilter
(RFC 4515), align model-redis ^1.6.0 and ldapts ^8.1.8, and unify build_info to
{buildVersion, buildHash, buildYear}. package-lock regenerated from the npm
registry (no file:/link:), so npm ci is clean in docker builds.
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -4,7 +4,7 @@ const {describe, test} = require('node:test');
|
||||
const assert = require('node:assert');
|
||||
const crypto = require('crypto');
|
||||
|
||||
const oidc = require('../../utils/oidc');
|
||||
const oidc = require('@simpleworkjs/oidc-client').oidc;
|
||||
const conf = require('@simpleworkjs/conf');
|
||||
|
||||
/**
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
const {describe, test} = require('node:test');
|
||||
const assert = require('node:assert');
|
||||
|
||||
const {safeInternalPath} = require('../../utils/safe_redirect');
|
||||
const {safeInternalPath} = require('@simpleworkjs/oidc-client');
|
||||
|
||||
/**
|
||||
* safeInternalPath guards the OIDC post-login redirect against open-redirect
|
||||
|
||||
Reference in New Issue
Block a user