Closed HYOSITIVE closed 7 months ago
Looks like you also need to test for convert: false
as true
is already the default. It's also missing a bit of docs but I can do it if you don't want to. Thanks for your contribution!
@Marsup Thanks for the review! I will add a test case for convert: false
. Besides that, could you let me know which docs did I miss? I can add those as well.
Just missing a quick description in https://github.com/hapijs/joi/blob/5b96852fe07a742a8733f2bff1303d50853ca65c/API.md#L3084-L3089
Sorry for the delay. Just updated the PR!
I'll change it a bit before releasing for some edge cases, but this is good to go, thanks!
Thanks, @Marsup! Please close the issue as well. I don't have a permission to do that because I'm not the one who opened it.
It's published.
Related Issue
2889
About Changes
encodeUri
with defaultfalse
inUriOptions
.encodeUri
in string validation method.convert
andencodeUri
flags aretrue
.Result