etherpad-lite/src/node/hooks
Richard Hansen 7f3d0e71f7 express: Check access before expressConfigure middleware
There are no guarantees about the order of execution of hook
functions, which means that a plugin's `expressConfigure` hook
function could theoretically register a handler/middleware before the
access check middleware is registered. If that happens, the plugin's
handler would run before the access check, which would be bad. Avoid
the problem by explicitly installing the `webaccess.checkAccess`
middleware before running the `expressConfigure` hook.
2021-12-20 20:08:18 -05:00
..
express express: Check access before expressConfigure middleware 2021-12-20 20:08:18 -05:00
express.js express: Check access before expressConfigure middleware 2021-12-20 20:08:18 -05:00
i18n.js lint: i18n.js 2021-02-21 21:09:02 -05:00