lib/rmobio/auth.rb in rmobio-1.1.17 vs lib/rmobio/auth.rb in rmobio-1.1.18

- old
+ new

@@ -94,10 +94,16 @@ #req_url=request.request_uri #token_list = [] #tokenize(req_url) do |token| # token_list << token #end - surl=request.protocol + request.host_with_port + request.request_uri + context = request.env['HTTP_MOBIO_CONTEXT'] + '/' + if context + surl=context + request.request_uri + else + surl = request.request_uri + end + logger.debug(" surl 0-=== #{surl}") # Retrieve the domain from the request_uri domain = Rmobio::Utils.get_domain(request.request_uri) \ No newline at end of file