Mercurial > hg > nginx-quic
view contrib/vim/indent/nginx.vim @ 8533:e0fdd75871e4
Disabled control characters in the Host header.
Control characters (0x00-0x1f, 0x7f) and space are not expected to appear
in the Host header. Requests with such characters in the Host header are
now unconditionally rejected.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 28 Jun 2021 18:01:24 +0300 |
parents | f38043bd15f5 |
children |
line wrap: on
line source
if exists("b:did_indent") finish endif let b:did_indent = 1 setlocal indentexpr= " cindent actually works for nginx' simple file structure setlocal cindent " Just make sure that the comments are not reset as defs would be. setlocal cinkeys-=0#