[#boost-urls-encoding_opts-disallow_null] = xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/encoding_opts.adoc[encoding_opts]::disallow_null :relfileprefix: ../../../ :mrdocs: True if nulls are not allowed == Synopsis Declared in `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/encoding_opts.hpp#L68[boost/url/encoding_opts.hpp]>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool disallow_null = false; ---- == Description Normally all possible character values (from 0 to 255) are allowed, with reserved characters being replaced with escapes upon encoding. When this option is true, attempting to decode a null will result in an error. [.small]#Created with https://www.mrdocs.com[MrDocs]#