Escape slashes in log output for JSON format

kay nginx-forum at
Wed Nov 26 10:50:58 UTC 2014

I've done the patch for nginx 1.6.2

Now if you use this config:
access_log  logs/access.log  main json;

Additional backslash for backslash should appear in log. And it will not
break JSON format.

Can someone review my changes?

Posted at Nginx Forum:,255071,255142#msg-255142

More information about the nginx mailing list