On 11/30/26 4:13 PM, Eric Covener wrote:
> While requests with URL-encoded nulls, CR, and LF's are valid and the
> encoded octets may actually be non-UTF8 multi-byte characters, I would
> like to propose we no longer accept them by default.
> 
> Most folks are familiar with AllowEncodedSlashes which has specific
> behavior for %2F (off, on, NoDecode).  I think for re-enabling stuff
> like NULL/CR/LF I would want to force people to opt in via something
> like a regex (too early to use normal config sections) and document
> that it requires great care if the URL is further manipulated.  I
> think these would implicitly be NoDecode equivalent only.
> 
> Anyone opposed in concept or have other ideas about the externals?

As far as I can tell encoded nulls are already forbidden.
(https://github.com/apache/httpd/blob/16d5db8ef09c9a56160bc14489f76ec0259f2dcf/server/util.c#L1915)
With regards to CR/LF are there further encoded control characters that we 
should not allow by default?

Regards

RĂ¼diger

Reply via email to