Changeset 1290:bc8054777437
- Timestamp:
- 01/11/10 00:40:42 (2 years ago)
- Branch:
- default
- Children:
- 1291:25805c3814cd, 1338:e3a2b003c799
- File:
-
- 1 edited
-
zine/utils/http.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
zine/utils/http.py
r1279 r1290 110 110 # should. If https enforcement is set we suppose that the blog_url 111 111 # is already set to an https value. 112 request = get_request() 112 request = get_request() 113 113 if request and not force_scheme_change and \ 114 114 not request.app.cfg['force_https']: 115 115 url = request.environ['wsgi.url_scheme'] + ':' + url.split(':', 1)[1] 116 116 117 117 return _redirect(url, code) 118 118
Note: See TracChangeset
for help on using the changeset viewer.