URL does not follow the pattern

I think that I must have something wrong but I keep getting this error on a URL that I can normally put into a browser:

http://defenceintranet.diif.r.mil.uk/libraries/2/Docs8/20171215.1/2920_17RD%20Flexi%20Working%20Bklt.pdf

Can you see any reason why its not being accepted by your system?

Thanks

jason

1 Like

You are talking about pattern validation, right?

It does not like the % character. I can change the regex. You can also change it in your pattern list.

Change it to: ^(?:http(s)?:\/\/)?[\w.-]+(?:\.[\w\.-]+)+[\w\-\._~:\/?#%[\]@!\$&'\(\)\*\+,;=.]+$

Thanks Sebastian - will give it a go now.

Btw. The patterns are not normalized. If you change it in the patterns list you also have to change it for your field.

Seems to have worked having changed the regex in the schema validation pattern. Thanks again!

Great, I have also updated the default patterns.