Thanks Sandeep, turning off URL encoding in the test does the trick, so
this is probably the easier fix.

Colm.

On Tue, Sep 12, 2017 at 2:59 PM, Sandeep More <[email protected]> wrote:

> Hello Colm,
>
> Interesting question, I have not seen "OR" condition in rewrite pattern, it
> does look useful and would be sad if it exists and I never used it :(
>
> About the encoding, is there way we can turn it off, it might look like it
> would create some problems down the line, like these ones KNOX-1005.
>
> Best,
> Sandeep
>
>
> On Tue, Sep 12, 2017 at 7:34 AM, Colm O hEigeartaigh <[email protected]>
> wrote:
>
> > Hi all,
> >
> > How do I specify an "OR" condition in a rewrite pattern? As part of the
> > work for KNOX-1037, I've run in to the problem that for the HDFS tilde
> > use-case, the upgrade rest-assured code is sending %7E instead of "~".
> The
> > rewrite pattern is not matching this, as it is hard-coded to match "~".
> > I've experimented a bit with (~|%7E) but it doesn't work. Using %7E
> instead
> > of "~" works.
> >
> > Any ideas?
> >
> > Colm.
> >
> >
> > --
> > Colm O hEigeartaigh
> >
> > Talend Community Coder
> > http://coders.talend.com
> >
>



-- 
Colm O hEigeartaigh

Talend Community Coder
http://coders.talend.com

Reply via email to