From 63ac62cf1d9627e6dd9efef29927051c374aefec Mon Sep 17 00:00:00 2001 From: Unbit Date: Thu, 19 Sep 2013 05:55:20 +0200 Subject: [PATCH] allows ANSI sequences in config files via %[ --- core/uwsgi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/core/uwsgi.c b/core/uwsgi.c index 61119476..2704ad32 100644 --- a/core/uwsgi.c +++ b/core/uwsgi.c @@ -2082,6 +2082,7 @@ int main(int argc, char *argv[], char *envp[]) { uwsgi.magic_table['v'] = uwsgi.cwd; uwsgi.magic_table['h'] = uwsgi.hostname; uwsgi.magic_table['V'] = UWSGI_VERSION; + uwsgi.magic_table['['] = "\033"; // you can embed a ini file in the uWSGi binary with default options #ifdef UWSGI_EMBED_CONFIG