Red Hat Bugzilla – Bug 779489
FTP notifier - Illegal character in fragment - with special char in password
Last modified: 2010-02-12 10:21:33 EST
Date of First Response: 2010-02-10 22:30:55
Platform JIRA for: https://jira.jboss.org/jira/browse/JBESB-3147
Attachment: Added: helloworld.tar
Attachment: Added: server.log
Link: Added: This issue is related to SOA-1490
Link: Added: This issue is related to SOA-1491
Note from Kevin - this differs from SOA-1490 in that in 1490, the bug was how the ESB constructed the URL - in this problem (SOA-1873) the user must define the URL and encode all necessary chars - need to document an example - and verify that it works.
The correct way to use these chars in an FTP notifier password or dir is:
For example - for a dir of "ftp_dir##"
Link: Added: This issue depends JBESB-3147
We're inconsistent with how we handle special characters between ftp gateway listener definitions and ftp notifier definitions - it would make it simpler for users if we handled these in the same way. I'll log a separate feature request JIRA for that.
For example, to use a directory of "ftp_dir##" and a password of "password##:
FTP gateway listener:
<ftp-provider hostname="servername.com" name="FTPprovider">
<action class="org.jboss.soa.esb.actions.Notifier" name="notify">
<property name="okMethod" value="notifyOK" />
Link: Added: This issue is a dependency of SOA-1887
I have added this issue to the Release Notes. Here is the draft text:
There is an inconsistency between the FTP Gateway Listener and the FTP Notifier.
The FTP Gateway Listener can accept non-alpha numeric characters for fields such as the
password whilst the FTP Notifier cannot. For instance, a # character must be entered as %23
to work in the Notifier. If you enter an illegal character, the Notifier will not work.
Also should be noted in the NotifyFTP section of the OOB chapters of the Programmers Guide
I have reworded the Release Note slightly:
There is an inconsistency between the FTP Gateway Listener and the FTP Notifier. The
FTP Gateway Listener can accept non-alpha numeric characters whilst the FTP Notifier
cannot. In the latter case, fields must be URL encoded. For instance, a # character must be
entered as %23 to work in the Notifier. If you enter an illegal character, the Notifier will not
As per Darrin's recommendation, the issue is also mentioned in the appropriate section of the Programmers' Guide now.