Changeset 14168 in genesis


Ignore:
Timestamp:
May 22, 2018, 7:14:25 PM (7 years ago)
Author:
rick
Message:

Add quirck for missing headers in early stacktrace

For HTML stacktrace to be displayed/processed by Apache CGI the header section
needs to be closed. Closing the section before stacktrace will fix this.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/gformat.py

    r14154 r14168  
    23672367    if not is_text_request():
    23682368      cgitb.enable()
    2369     response_headers, output = process_cgi_request()
     2369
     2370    try:
     2371      response_headers, output = process_cgi_request()
     2372    except:
     2373      print ''
     2374      print ''
     2375      raise
     2376
    23702377    print_cgi_response(response_headers, output)
    23712378
Note: See TracChangeset for help on using the changeset viewer.