Neutralize box/host names in comments (hub box / bridge box instead of internal hostnames)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -11,7 +11,7 @@
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
// acl.php — shared PHP helper for every web (dmr-web, svx-web).
|
||||
// Canonical copy: callmgr2/www-mumien/auth/lib/acl.php; other repos carry a COPY.
|
||||
// Canonical copy: <dmr-portal>/auth/lib/acl.php; other repos carry a COPY.
|
||||
// Admin-on-admin checks. Needs acct_admin_level() and json_out() from the site.
|
||||
|
||||
// An admin may change another account only when their own level is strictly
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
// html.php — shared PHP helper for every web (dmr-web, svx-web, svxlink-web).
|
||||
// Canonical copy: callmgr2/www-mumien/auth/lib/html.php; other repos carry a COPY.
|
||||
// Canonical copy: <dmr-portal>/auth/lib/html.php; other repos carry a COPY.
|
||||
// HTML escaping for server-rendered pages.
|
||||
|
||||
// Escape for HTML text and attribute context (quotes included, invalid UTF-8 replaced).
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
// http.php — shared PHP helper for every web (dmr-web, svx-web).
|
||||
// Canonical copy: callmgr2/www-mumien/auth/lib/http.php; other repos carry a COPY.
|
||||
// Canonical copy: <dmr-portal>/auth/lib/http.php; other repos carry a COPY.
|
||||
// JSON request/response, CSRF check, Redis-backed rate limiting.
|
||||
// Loaded by auth/lib.php; needs cfg() from the page's own lib.php.
|
||||
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
// redis.php — shared PHP helper for every web (dmr-web, svx-web).
|
||||
// Canonical copy: callmgr2/www-mumien/auth/lib/redis.php; other repos carry a COPY.
|
||||
// Canonical copy: <dmr-portal>/auth/lib/redis.php; other repos carry a COPY.
|
||||
// Redis connections (main + aux) and the batched SCAN+MGET read — the only way to read many keys.
|
||||
// Loaded by auth/lib.php; needs cfg() from the page's own lib.php.
|
||||
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
// shell.php — shared PHP helper for every web (dmr-web, svx-web, svxlink-web).
|
||||
// Canonical copy: callmgr2/www-mumien/auth/lib/shell.php; other repos carry a COPY.
|
||||
// Canonical copy: <dmr-portal>/auth/lib/shell.php; other repos carry a COPY.
|
||||
|
||||
// Shell-argument quoting for the few pages that run local helpers.
|
||||
function sh_arg($v): string { return escapeshellarg((string)$v); }
|
||||
|
||||
Reference in New Issue
Block a user