Skip to content

Commit

Permalink
No escape needed for '/' in slug input
Browse files Browse the repository at this point in the history
  • Loading branch information
arash77 committed Oct 14, 2024
1 parent d61b5fc commit 705a5c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/components/Sharing/SlugInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const initialSlug = props.slug;
function onChange(value: string) {
const slugFormatted = value
.replace(/\s+/g, "-")
.replace(/[\/:?#]/g, "")
.replace(/[/:?#]/g, "")
.toLowerCase();
emit("change", slugFormatted);
Expand Down

0 comments on commit 705a5c4

Please sign in to comment.