I don't think we should allow a second '?' character.

+1 on adding validation for this.

On Sun, Nov 16, 2008 at 10:53 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/
>



-- 
Cheers,
Jon

http://janstey.blogspot.com/

Reply via email to