Changeset 2462

Show
Ignore:
Timestamp:
07/13/07 00:37:59 (1 year ago)
Author:
BladeHawke
Message:

AuthRequiredPlugin:

Removed spurious self.env.href() that caused redirection issues on trac installation not at root of vhost. (fixes #1771)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • authrequiredplugin/0.10/setup.py

    r2375 r2462  
    55 
    66PACKAGE = 'TracAuthRequired' 
    7 VERSION = '0.3
     7VERSION = '0.3.1
    88 
    99setup( 
  • authrequiredplugin/0.10/tracauthrequired/authrequired.py

    r2375 r2462  
    5555        #req.redirect(req.href.login()) 
    5656        # Testing new redirect syntax.  Thanks to jfernandez@ist.psu.edu 
    57         req.redirect(self.env.href(req.href.login(), {'referer':req.abs_href(req.path_info)})
     57        req.redirect(req.href.login(), {'referer':req.abs_href(req.path_info)}
    5858        return [] # We don't really get here, but what the heck... 
    5959