Skip to content

Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.

fix: remove forward slash for slug

Marc Seitz400491efdd20
diff --git a/components/links/link-sheet/domain-section.tsx b/components/links/link-sheet/domain-section.tsx
index 4fdeb00e..7af41ecf 100644
--- a/components/links/link-sheet/domain-section.tsx
+++ b/components/links/link-sheet/domain-section.tsx
@@ -74,10 +74,10 @@ export default function DomainSection({
name="key"
required
value={data.slug || ""}
- pattern="[\p{L}\p{N}\p{Pd}\/]+"
+ pattern="[\p{L}\p{N}\p{Pd}]+"
onInvalid={(e) => {
e.currentTarget.setCustomValidity(
- "Only letters, numbers, '-', and '/' are allowed.",
+ "Only letters, numbers, and '-' are allowed.",
);
}}
autoComplete="off"