weary icon indicating copy to clipboard operation
weary copied to clipboard

Minitest::UnexpectedError: NoMethodError: undefined method `+' for nil:NilClass

Open barsukov opened this issue 11 years ago • 1 comments

When you try to put code with out "host" in your url you get this error. I think this unlogical because I put my domain variable and I expected to recieved it without any problem. this occured in this place:

def http_host
  uri = @request.uri
  uri.host + (uri.normalized_port ? ":#{uri.normalized_port}" : "")
end

barsukov avatar Feb 10 '14 13:02 barsukov

PING PING )

barsukov avatar Apr 30 '15 13:04 barsukov