mirror of
https://github.com/caddyserver/caddy.git
synced 2025-07-08 18:55:03 -04:00
Fix #4169 (correct e6c58fd)
This commit is contained in:
parent
e6c58fdc08
commit
49b7a25264
@ -153,7 +153,7 @@ func Format(input []byte) []byte {
|
|||||||
openBraceWritten = true
|
openBraceWritten = true
|
||||||
nextLine()
|
nextLine()
|
||||||
newLines = 0
|
newLines = 0
|
||||||
// prevent infinite nesting from ridiculous inputs (issue #4175)
|
// prevent infinite nesting from ridiculous inputs (issue #4169)
|
||||||
if nesting < 10 {
|
if nesting < 10 {
|
||||||
nesting++
|
nesting++
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user