You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the Redirect URL has placeholder for query parameters, query parameters placed in placeholder is encoded.
eg:
In this URL http://localhost:3000/projects/{{projectId}}/schedule?{{filters}}&something=something, query parameters placed in filters placeholder is encoded and. Albeit, &something=something remains as it is.
http://localhost:3000/projects/28800f71/schedule?scheduleType=DETAIL turns into http://localhost:3000/projects/28800f71/schedule?scheduleType=DETAIL
👟 Reproduction steps
Create a workflow with Redirect URL that has placeholder for query parameters
In above picture, filters placeholder may have multiple query parameters eg: scheduleType=DETAIL&projectType=PAID
Send notification using above workflow with redirect URL
👍 Expected behavior
Placeholders in Redirect URL should not be encoded
👎 Actual Behavior with Screenshots
Placeholders in Redirect URL are encoded
Novu version
0.24.0
npm version
No response
node version
No response
📃 Provide any additional context for the Bug.
No response
👀 Have you spent some time to check if this bug has been raised before?
samya-ak
changed the title
🐛 Bug Report: Redirect URL in workflow gets encoded when notification is sent
🐛 Bug Report: Redirect URL's placeholder in workflow gets encoded when notification is sent
Jul 11, 2024
📜 Description
If the Redirect URL has placeholder for query parameters, query parameters placed in placeholder is encoded.
eg:
In this URL
http://localhost:3000/projects/{{projectId}}/schedule?{{filters}}&something=something
, query parameters placed in filters placeholder is encoded and. Albeit,&something=something
remains as it is.http://localhost:3000/projects/28800f71/schedule?scheduleType=DETAIL
turns intohttp://localhost:3000/projects/28800f71/schedule?scheduleType=DETAIL
👟 Reproduction steps
In above picture, filters placeholder may have multiple query parameters eg:
scheduleType=DETAIL&projectType=PAID
👍 Expected behavior
Placeholders in Redirect URL should not be encoded
👎 Actual Behavior with Screenshots
Placeholders in Redirect URL are encoded
Novu version
0.24.0
npm version
No response
node version
No response
📃 Provide any additional context for the Bug.
No response
👀 Have you spent some time to check if this bug has been raised before?
🏢 Have you read the Contributing Guidelines?
Are you willing to submit PR?
None
The text was updated successfully, but these errors were encountered: