Details
-
Bug
-
Resolution: Fixed
-
Medium
Description
For some reason JIRA is replacing the %20 with an actual space, and that's breaking the Webhooks.
This was the original webhook: http://example.com/rest/webhooks/webhook%20test
This is what shows up on the logs:
2013-07-25 16:59:52.475163500 Exception in thread "pool-28-thread-1" com.atlassian.uri.Uri$UriException: java.net.URISyntaxException: Illegal character in path at index 40: http://example.com/rest/webhooks/webhook test?user_id=sysadmin 2013-07-25 16:59:52.475286500 at com.atlassian.uri.Uri.toJavaUri(Uri.java:129) 2013-07-25 16:59:52.475287500 at com.atlassian.webhooks.plugin.PublishTaskFactoryImpl$PublishTaskImpl.getUri(PublishTaskFactoryImpl.java:151) 2013-07-25 16:59:52.475288500 at com.atlassian.webhooks.plugin.PublishTaskFactoryImpl$PublishTaskImpl.run(PublishTaskFactoryImpl.java:116) 2013-07-25 16:59:52.475292500 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) 2013-07-25 16:59:52.475306500 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) 2013-07-25 16:59:52.475318500 at java.lang.Thread.run(Thread.java:662) 2013-07-25 16:59:52.475505500 Caused by: java.net.URISyntaxException: Illegal character in path at index 40: http://example.com/rest/webhooks/webhook test?user_id=sysadmin 2013-07-25 16:59:52.475506500 at java.net.URI$Parser.fail(URI.java:2809) 2013-07-25 16:59:52.475506500 at java.net.URI$Parser.checkChars(URI.java:2982) 2013-07-25 16:59:52.476011500 at java.net.URI$Parser.parseHierarchical(URI.java:3066) 2013-07-25 16:59:52.476012500 at java.net.URI$Parser.parse(URI.java:3014) 2013-07-25 16:59:52.476012500 at java.net.URI.<init>(URI.java:578) 2013-07-25 16:59:52.476012500 at com.atlassian.uri.Uri.toJavaUri(Uri.java:124) 2013-07-25 16:59:52.476013500 ... 5 more
Attachments
Issue Links
- is cloned from
-
JRADEV-23434 Loading...