Bug 813759 - Camel IRC gateway doesn't work - # symbol is replaced with "%23" in URL
Summary: Camel IRC gateway doesn't work - # symbol is replaced with "%23" in URL
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: JBoss Enterprise SOA Platform 5
Classification: JBoss
Component: 3rd Party
Version: 5.3.0 GA
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ER3
: 5.3.0 GA
Assignee: Nobody
QA Contact: Matej Melko
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-18 11:31 UTC by Robert Balent
Modified: 2025-02-10 03:19 UTC (History)
3 users (show)

Fixed In Version: 5.3.0 GA
Clone Of:
Environment:
Last Closed: 2025-02-10 03:19:38 UTC
Type: Bug
Embargoed:


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


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JBESB-3797 0 Major Closed Camel IRC gateway doesn't work - # symbol is replaced with "%23" in URL 2012-10-17 11:38:25 UTC

Description Robert Balent 2012-04-18 11:31:37 UTC
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 08:37:29 UTC
Created attachment 583476 [details]
Camel IRC Reproducer

Comment 2 JBoss JIRA Server 2012-05-11 20:12:51 UTC
Tom Cunningham <tcunning> updated the status of jira JBESB-3797 to Resolved

Comment 3 JBoss JIRA Server 2012-05-11 20:12:51 UTC
Tom Cunningham <tcunning> made a comment on jira JBESB-3797

Decode all unsafe characters before sending routes to Camel.

Comment 4 JBoss JIRA Server 2012-05-11 20:12:56 UTC
Tom Cunningham <tcunning> updated the status of jira JBESB-3797 to Closed

Comment 5 tcunning 2012-05-11 20:13:49 UTC
Committed against JBESB_4_11_CP branch, should be in ER3.

Comment 6 Robert Balent 2012-05-25 14:02:45 UTC
Verified in SOA-P 5.3 ER3.

Comment 7 David Le Sage 2012-06-13 00:00:00 UTC
    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.

Comment 12 Red Hat Bugzilla 2025-02-10 03:19:38 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.


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