bin/cubicweb-ctl
author Christophe de Vienne <christophe@unlish.com>
Tue, 02 Sep 2014 10:30:28 +0200
changeset 9941 8dc1c96d29f1
parent 0 b97547f5f1fa
child 12253 9165f4b7426b
permissions -rwxr-xr-x
[wsgi] Fix https detection - 'HTTPS' is not part of wsgi, it is a CGI variable. The right wsgi variable is 'wsgi.url_scheme' - Force https if url starts with '/https/' (and remove the prefix from the path. Closes #4305985

#!/usr/bin/env python
from cubicweb.cwctl import run
import sys
run(sys.argv[1:])