mirror of
https://github.com/cdr/code-server.git
synced 2026-04-12 10:02:05 +02:00
- Add isTrustedOrigin() helper that matches exact strings, '*', or regex literals in the form /pattern/flags (e.g. /^.*\.example\.com$/i) - Use isTrustedOrigin in authenticateOrigin() for --trusted-origins - Add unit tests for isTrustedOrigin and for regex/wildcard in origin auth Made-with: Cursor |
||
|---|---|---|
| .. | ||
| routes | ||
| app.test.ts | ||
| cli.test.ts | ||
| constants.test.ts | ||
| heart.test.ts | ||
| http.test.ts | ||
| i18n.test.ts | ||
| main.test.ts | ||
| proxy.test.ts | ||
| settings.test.ts | ||
| socket.test.ts | ||
| update.test.ts | ||
| util.test.ts | ||
| vscodeSocket.test.ts | ||
| wrapper.test.ts | ||