Ignore:
Timestamp:
06/07/07 10:25:55 (12 years ago)
Author:
domlowe
Message:

Added HTTP_REFERER check to redirect code - BRYAN, you may want to check this!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/controllers/login.py

    r2694 r2709  
    1010        if 'r' in self.inputs: 
    1111            c.returnTo=self.inputs['r'] 
     12        elif 'HTTP_REFERER' in request.environ: 
     13            #Added by Dom, 06/07/07 
     14            #http redirect  based on parse_querystring wasn't working so added this condition 
     15            #NOTE:  Not been able to test whether this has broken discovery/browse due to missing templates. 
     16            c.returnTo=request.environ['HTTP_REFERER'] 
    1217        else: 
    1318            c.returnTo='' 
Note: See TracChangeset for help on using the changeset viewer.