Details
-
Bug
-
Resolution: Fixed
-
Low
-
None
-
15
-
Severity 3 - Minor
-
Description
Summary
There are cases where base64 code is needed to be sent as a URL argument on the JIRA webhook so that JIRA can authentic to the recipient webhook server. Special characters on these URL arguments are not sent out properly from JIRA.
Steps to Reproduce
- Create a webhook in JIRA
- Specify a URL argument containing special characters. (i.e. code=asdasohdoasdoasd==)
- Trigger the event
Expected Results
Special characters should be sent as part of the URL arguments.
Actual Results
Format | Webhook | URL Received |
Plain Text | https://www.webhhook_server.com/endpoint?code=asdasohdoasdoasd==&test=test | POST /endpoint?code=asdasohdoasdoasd&test=test&user_id=admin&user_key=admin |
URL Encoded | https://www.webhhook_server.com/endpoint?code=asdasohdoasdoasd%3D%3D | POST /endpoint?code=asdasohdoasdoasd%253D%253D&user_id=admin&user_key=admin |
Notes
This can happen more frequently with endpoints generated on Azure. Usually, the generated endpoint will end with double equal signs, which are removed when the webhook is fired by JIRA.
Workaround
- This workaround already worked for a few customers affected by the BUG, it consists in trying to generate another authorization key in the Azure side making sure that it doesn't contain any special characters.
Attachments
Issue Links
- is related to
-
JRACLOUD-42579 WebHook convert the space character %20 into %2520 thus failing the call.
- Gathering Impact
-
JRASERVER-42579 WebHook converts the percent character % into %25 thus failing the call.
- Gathering Impact
- was cloned as
-
JRASERVER-71214 Webhook calls fail if destination URL contains special characters
- Long Term Backlog