Permalink
Browse files

Fixed bugs

  • Loading branch information...
Petteri Salmi authored and jammi committed Dec 15, 2014
1 parent c91d672 commit 9a5f3eec2abc7013efa411a3d080641f882db52a
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/rsence/sessionmanager.rb
@@ -443,8 +443,8 @@ def renew_cookie_req_res( request, response, cookie_key, ses_cookie_path=nil )
return
end
- if req.header.has_key?( 'x-forwarded-port' )
- server_port = req.header['x-forwarded-port']
+ if request.header.has_key?( 'x-forwarded-port' )
+ server_port = request.header['x-forwarded-port']
else
server_port = request.port
end

0 comments on commit 9a5f3ee

Please sign in to comment.