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?
š 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