-
Notifications
You must be signed in to change notification settings - Fork 2.2k
[BUG][FormTribe 🔥][100 Points] Question ID should be restricted #1375
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't workinghacktoberfestcomplete these issues to gather points for Hacktoberfestcomplete these issues to gather points for Hacktoberfest
Description
Issue Summary
While adding a new question, it is allowed to set a custom ID to a question that adds the corner case for reserved keywords. Currently, it just restricts keeping duplicate question IDs and any IDs from hidden fields.
Reserved keywords: source, suID, userId
(please check the exact casing and find any more keywords.)
Steps to Reproduce
- Create a survey, add a new question to it, and edit the id for it
- add any reserved query param keyword.
Expected behavior
It should not allow the use of reserved keywords in question ID.
Other information
No response
Screenshots
No response
Environment
- Formbricks Cloud (app.formbricks.com)
- Self-hosted Formbricks
Desktop (please complete the following information)
- OS:
- Node:
- npm:Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghacktoberfestcomplete these issues to gather points for Hacktoberfestcomplete these issues to gather points for Hacktoberfest