Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 813759 - Camel IRC gateway doesn't work - # symbol is replaced with "%23" in URL
Camel IRC gateway doesn't work - # symbol is replaced with "%23" in URL
Status: VERIFIED
Product: JBoss Enterprise SOA Platform 5
Classification: JBoss
Component: 3rd Party (Show other bugs)
5.3.0 GA
Unspecified Unspecified
high Severity high
: ER3
: 5.3.0 GA
Assigned To: Default User
Matej Melko
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-04-18 07:31 EDT by Robert Balent
Modified: 2018-03-29 17:48 EDT (History)
3 users (show)

See Also:
Fixed In Version: 5.3.0 GA
Doc Type: Bug Fix
Doc Text:
Users need to specify the Camel gateway's URL in this format: irc:username@irc.server.com:6667/#channel. Unfortunately, the hash (#) symbol was being replaced with "%23". As a result, it could not connect. To fix this issue, the software has been changed so that unsafe characters are now decoded before being sent to Camel. As a result, it can now connect correctly.
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Camel IRC Reproducer (70.98 KB, application/zip)
2012-05-10 04:37 EDT, Robert Balent
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
JBoss Issue Tracker JBESB-3797 Major Closed Camel IRC gateway doesn't work - # symbol is replaced with "%23" in URL 2012-10-17 07:38:25 EDT

  None (edit)
Description Robert Balent 2012-04-18 07:31:37 EDT
When you use Camel IRC component there is needed to specify URL of camel gateway which contains information about server and channel it should connect.

Like this:
irc:username@irc.server.com:6667/#channel


Problem is that the # symbol is replaced with "%23" and the IRC gateway will not connect to channel.

No exception is thrown in log. But you can see the "%23" in URL:

INFO  [DefaultShutdownStrategy] Route: route3 shutdown complete, was consuming from: Endpoint[irc://camel_irc_reproducer@irc.freenode.net:6667/%23camel_irc_reproducer]

Attached reproducer should connect to irc.freenode.net channel #camel_irc_reproducer but it won't.

1. Start server
2. Unzip reproducer to quickstarts folder
3. Configure quickstarts.properties to target your server profile
4. from camel_irc directory run: ant deploy
Comment 1 Robert Balent 2012-05-10 04:37:29 EDT
Created attachment 583476 [details]
Camel IRC Reproducer
Comment 2 JBoss JIRA Server 2012-05-11 16:12:51 EDT
Tom Cunningham <tcunning@redhat.com> updated the status of jira JBESB-3797 to Resolved
Comment 3 JBoss JIRA Server 2012-05-11 16:12:51 EDT
Tom Cunningham <tcunning@redhat.com> made a comment on jira JBESB-3797

Decode all unsafe characters before sending routes to Camel.
Comment 4 JBoss JIRA Server 2012-05-11 16:12:56 EDT
Tom Cunningham <tcunning@redhat.com> updated the status of jira JBESB-3797 to Closed
Comment 5 tcunning 2012-05-11 16:13:49 EDT
Committed against JBESB_4_11_CP branch, should be in ER3.
Comment 6 Robert Balent 2012-05-25 10:02:45 EDT
Verified in SOA-P 5.3 ER3.
Comment 7 David Le Sage 2012-06-12 20:00:00 EDT
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Users need to specify the Camel gateway's URL in this format:
irc:username@irc.server.com:6667/#channel. Unfortunately, the hash (#) symbol was being replaced with "%23". As a result, it could not connect.  To fix this issue, the software has been changed so that unsafe characters are now decoded before being sent to Camel. As a result, it can now connect correctly.

Note You need to log in before you can comment on or make changes to this bug.