Skip to content

Extra space appearing in generated event URL when creating new event type #22121

@Mudityadev

Description

@Mudityadev

When creating a new event type on https://app.cal.com/event-types, there is an extra space inserted in the generated event URL slug. For example, entering a title like Demo-test-title produces a URL like:

https://cal.com/mudityadev/ demo-test-title

This breaks the URL structure and could lead to invalid or non-functional booking links.

Steps to Reproduce

  1. Go to https://app.cal.com/event-types
  2. Click on Add a new event type
  3. Enter a title, e.g. Demo-test-title
  4. Observe the generated URL field under URL

Any other relevant information:

  1. This is likely caused by improper string trimming or slug generation.
  2. I expected the URL to be clean and without unnecessary whitespace.

Actual Results
The generated URL contains an unexpected space after the /, like:
https://cal.com/mudityadev/ demo-test-title
Copy-pasting this results in broken or unclickable links.

Expected Results
The URL should be properly formatted without spaces, like:
https://cal.com/mudityadev/demo-test-title This ensures consistent, valid URLs for event booking.

Technical details
Browser: Chrome Version 114 on Windows 10
Node.js version: N/A (using web app)
No specific console errors noticed, purely a front-end input formatting issue
Could provide a short screen recording or Bird Eats Bug capture if needed.

Evidence
Attached s

Image

Image

creenshots showing the extra space in the URL field during creation.
Can easily replicate with any title input.
Willing to test any fixes or provide more details on request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    event-typesarea: event types, event-types🐛 bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions