Re: rpki-client validate URI function

2021-03-05 Thread Theo Buehler
On Fri, Mar 05, 2021 at 05:36:53PM +0100, Claudio Jeker wrote: [...] > Here we go. This should be better. ok tb

Re: rpki-client validate URI function

2021-03-05 Thread Claudio Jeker
On Fri, Mar 05, 2021 at 04:58:44PM +0100, Claudio Jeker wrote: > On Fri, Mar 05, 2021 at 04:08:55PM +0100, Theo Buehler wrote: > > On Fri, Mar 05, 2021 at 01:48:43PM +0100, Claudio Jeker wrote: > > > Instead of adding similar checks all over the place introduce a > > > valid_uri() function that che

Re: rpki-client validate URI function

2021-03-05 Thread Claudio Jeker
On Fri, Mar 05, 2021 at 04:08:55PM +0100, Theo Buehler wrote: > On Fri, Mar 05, 2021 at 01:48:43PM +0100, Claudio Jeker wrote: > > Instead of adding similar checks all over the place introduce a > > valid_uri() function that checks if a URI is valid enough for rpki-client. > > rpki-client does not

Re: rpki-client validate URI function

2021-03-05 Thread Theo Buehler
On Fri, Mar 05, 2021 at 01:48:43PM +0100, Claudio Jeker wrote: > Instead of adding similar checks all over the place introduce a > valid_uri() function that checks if a URI is valid enough for rpki-client. > rpki-client does not accept files or directories starting with ., bails on > URI that have