Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Event cannot be accesed via subdomain when using an event tag that isn't compatible with subdomains #742

Open
Victor4X opened this issue Oct 22, 2024 · 0 comments

Comments

@Victor4X
Copy link

Victor4X commented Oct 22, 2024

Describe the bug
This is more of a UX bug, but can be annoying/confusing.

When creating an event, the event tag can include uppercase letters. These get normalized to lowercase when used in the <event-tag>.<hauukins-site> subdomain, leading to an "event not found" error page. I have confirmed that sending the correct event tag (with uppercase letters) to the api.<hauukins-site>/v1/event/<event-tag> endpoint correctly resolves the event.

I have not tested further, but there might be other strings that are accepted by the form, but don't work in practice.

To Reproduce
Steps to reproduce the behavior:

  1. Go to /events/new in the admin panel
  2. Insert a string with uppercase letters in the "Event tag" field
  3. Create the event
  4. Click "go to event" button
  5. See error
  6. There is no way (that I could see) to access the event

Expected behavior
An error when submitting the form that event tags have to be subdomain-compliant

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant