mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-11-16 17:09:09 +00:00
The Traffic Inspector exposed a "TLS intercept" switch (POST /api/tools/traffic-inspector/capture-modes/tls-intercept, the tlsIntercept field of GET /capture-modes, INSPECTOR_TLS_INTERCEPT) and the docs said enabling it decrypts HTTPS bodies in HTTP_PROXY mode. Nothing ever read the flag: the HTTP_PROXY listener only raw-pipes CONNECT tunnels (src/mitm/inspector/httpProxyServer.ts), and the only real decryption path (TPROXY) is a separate capture mode with its own route and options. Remove the toggle end to end (route, state accessors, Zod schema, OpenAPI path + schema in docs/ and public/, generated CLI command, env var in .env.example and ENVIRONMENT.md) and rewrite TRAFFIC_INSPECTOR.md to state that HTTPS through HTTP_PROXY is tunneled, never decrypted, pointing to AgentBridge / Custom Hosts / TPROXY decrypt for body capture. i18n mirrors: the dead endpoint row, the toggle clause of the GET row and the sentence advertising the toggle are removed mechanically in all 66 TRAFFIC_INSPECTOR.md mirrors, and the env row in all 66 ENVIRONMENT.md mirrors. .i18n-state.json records the new source and target hashes but keeps the per-locale source hashes, so the mirrors stay reported as stale until the next npm run i18n:run (the translation backend returned 404 for every locale during this change).