[#boost-urls-encoding_opts-disallow_null]
= xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/encoding_opts.adoc[encoding&lowbar;opts]::disallow&lowbar;null
:relfileprefix: ../../../
:mrdocs:

True if nulls are not allowed

== Synopsis

Declared in `&lt;https://www.github.com/boostorg/url/blob/develop/include/boost/url/encoding_opts.hpp#Lundefined[boost&sol;url&sol;encoding&lowbar;opts&period;hpp]&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool disallow&lowbar;null = false;
----

== Description

Normally all possible character values (from 0 to 255) are allowed, with reserved characters being replaced with escapes upon encoding&period; When this option is true, attempting to decode a null will result in an error&period;


[.small]#Created with https://www.mrdocs.com[MrDocs]#
