I think the validation needs to go in at the component level. It should be able to detect that 'true?ddd=sss' is not valid value for 'mail.pop3.forgettopheaders' parameter.
For some other component/parameter a '?' in the value might be valid. Regards, Hiram On Sun, Nov 16, 2008 at 9:23 AM, Claus Ibsen <[EMAIL PROTECTED]> wrote: > Hi > > I was messing CAMEL-1096 for camel-mail and I mistyped the URI adding > a 2nd ? char in the URI string. > However this one passes the validation. I was wondering if that normal? > > eg: > pop3://localhost?username=james&mail.pop3.forgettopheaders=true?ddd=sss > > Would validate into 2 parameters > username=james > mail.pop3.forgettopheaders=true?ddd=sss > > So the 2nd parameter value is: true?ddd=sss > > I was wondering if we should add some validation that a 2nd ? is not > allowed in the URI string? > > > /Claus Ibsen > Apache Camel Committer > Blog: http://davsclaus.blogspot.com/ > -- Regards, Hiram Blog: http://hiramchirino.com Open Source SOA http://open.iona.com
