request_uri (ActionController::AbstractRequest)

    # File lib/action_controller/request.rb, line 346
        def request_uri
          if uri = @env['REQUEST_URI']
            # Remove domain, which webrick puts into the request_uri.
            (%r{^\w+\://[^/]+(/.*|$)$} =~ uri) ? $1 : uri
          else
            # Construct IIS missing REQUEST_URI from SCRIPT_NAME and PATH_INFO.
            uri = @env['PATH_INFO'].to_s

            if script_filename = @env['SCRIPT_NAME'].to_s.match(%r{[^/]+$})
              uri = uri.sub(/#{script_filename}\//, '')
            end

            env_qs = @env['QUERY_STRING'].to_s
            uri += "?#{env_qs}" unless env_qs.empty?

            if uri.blank?
              @env.delete('REQUEST_URI')
            else
              @env['REQUEST_URI'] = uri
            end
          end
        end