You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by liugang <cl...@gmail.com> on 2013/03/29 07:57:12 UTC

How many Escape characters in Camel

Hi All:

Does anybody can give me a link or an answer about this problem: 
		How many Escape characters in Camel ?

For example, if I want to send an email, and the password includes '&', then I have to use &amp; right? 


Thanks.
Gangliu


RE: How many Escape characters in Camel

Posted by liugang <cl...@gmail.com>.
Unfortunately, I'd like to know how I can pass the password which includes an & when sending the email.

I tried both %26 or %2526, both of them doesn't work. I'm not sure it's a bug or not.


Thanks.
GangLiu.

-----Original Message-----
From: Willem jiang [mailto:willem.jiang@gmail.com] 
Sent: Friday, March 29, 2013 4:13 PM
To: users@camel.apache.org
Subject: Re: How many Escape characters in Camel

If you are using the URI inside the XML, you need to check change "&" to "&amp".
It is same with the "<" and ">".


--  
Willem Jiang

Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English)
          http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem





On Friday, March 29, 2013 at 2:57 PM, liugang wrote:

> Hi All:
>  
> Does anybody can give me a link or an answer about this problem:  
> How many Escape characters in Camel ?
>  
> For example, if I want to send an email, and the password includes '&', then I have to use &amp; right?  
>  
>  
> Thanks.
> Gangliu
>  




Re: How many Escape characters in Camel

Posted by Willem jiang <wi...@gmail.com>.
If you are using the URI inside the XML, you need to check change "&" to "&amp".
It is same with the "<" and ">".


--  
Willem Jiang

Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English)
          http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem





On Friday, March 29, 2013 at 2:57 PM, liugang wrote:

> Hi All:
>  
> Does anybody can give me a link or an answer about this problem:  
> How many Escape characters in Camel ?
>  
> For example, if I want to send an email, and the password includes '&', then I have to use &amp; right?  
>  
>  
> Thanks.
> Gangliu
>