c13d291 Tolerate '\0' in URI when mapping URI to path.

Authored and Committed by 洪晓龙 4 years ago
    Tolerate '\0' in URI when mapping URI to path.
    
    If a rewritten URI has the null character, only a part of URI was
    copied to a memory buffer allocated for path.  In some setups this
    could be exploited to expose uninitialized memory via the Location
    header.