Changes between Initial Version and Version 1 of Ticket #27575


Ignore:
Timestamp:
Dec 5, 2016, 1:53:17 PM (8 years ago)
Author:
JorisBenschop
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #27575 – Description

    initial v1  
    1010{{{
    1111redirect_url = ''
    12 if  settings.PREPEND_WWW:
     12if settings.PREPEND_WWW:
    1313    host = request.get_host()
    14     if host and not host.startswith('www.')
     14    if host and not host.startswith('www.'):
    1515        redirect_url = ('%s://www.%s' % (request.scheme, host))
    1616}}}
Back to Top