bb-plane-fork/packages/utils/src/index.ts
Prateek Shourya 49fc6aa0a0
[VPAT-55] chore(security): implement input validation across authentication and workspace forms (#8528)
* chore(security): implement input validation across authentication and workspace forms

  - Add OWASP-compliant autocomplete attributes to all auth input fields
  - Create centralized validation utilities blocking injection-risk characters
  - Apply validation to names, display names, workspace names, and slugs
  - Block special characters: < > ' " % # { } [ ] * ^ !
  - Secure sensitive input fields across admin, web, and space apps

* chore: add missing workspace name validation to settings and admin forms

* feat: enhance validation regex for international names and usernames

- Updated regex patterns to support Unicode characters for person names, display names, company names, and slugs.
- Improved validation functions to block injection-risk characters in names and slugs.
2026-02-17 00:18:46 +05:30

42 lines
1.2 KiB
TypeScript

/**
* Copyright (c) 2023-present Plane Software, Inc. and contributors
* SPDX-License-Identifier: AGPL-3.0-only
* See the LICENSE file for details.
*/
export * from "./array";
export * from "./attachment";
export * from "./auth";
export * from "./calendar";
export * from "./color";
export * from "./common";
export * from "./cycle";
export * from "./datetime";
export * from "./distribution-update";
export * from "./editor";
export * from "./emoji";
export * from "./estimates";
export * from "./file";
export * from "./filter";
export * from "./get-icon-for-link";
export * from "./intake";
export * from "./loader";
export * from "./math";
export * from "./module";
export * from "./notification";
export * from "./page";
export * from "./permission";
export * from "./project-views";
export * from "./project";
export * from "./rich-filters";
export * from "./router";
export * from "./string";
export * from "./subscription";
export * from "./tab-indices";
export * from "./theme";
export { resolveGeneralTheme } from "./theme-legacy";
export * from "./url";
export * from "./validation";
export * from "./work-item-filters";
export * from "./work-item";
export * from "./workspace";