We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0656b9 commit 9fdf249Copy full SHA for 9fdf249
nginx.py
@@ -436,7 +436,7 @@ def loads(data, conf=True):
436
index += m.end()
437
continue
438
439
- m = re.compile(r'^\s*location\s*([^;].*?)\s*{', re.S).search(data[index:])
+ m = re.compile(r'^\s*location\s*([^;]*?)\s*{', re.S).search(data[index:])
440
if m:
441
l = Location(m.group(1))
442
lopen.insert(0, l)
0 commit comments