:relfileprefix: ../../../
[#boost-urls-encoding_opts-disallow_null]

== xref:boost.adoc[pass:[boost]]::xref:boost/urls.adoc[pass:[urls]]::xref:boost/urls/encoding_opts.adoc[pass:[encoding_opts]]::disallow_null


True if nulls are not allowed


=== Synopsis

Declared in header `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/encoding_opts.hpp#L68[boost/url/encoding_opts.hpp,window=blank_]>`

[source,cpp,subs="verbatim,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.



