We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c243ba commit 4f3bda2Copy full SHA for 4f3bda2
lib/logtail-rack/http_context.rb
@@ -12,7 +12,7 @@ class HTTPContext < Middleware
12
def call(env)
13
request = Util::Request.new(env)
14
context = Contexts::HTTP.new(
15
- host: Util::Encoding.force_utf8_encoding(request),
+ host: Util::Encoding.force_utf8_encoding(request.host),
16
method: Util::Encoding.force_utf8_encoding(request.request_method),
17
path: request.path,
18
remote_addr: Util::Encoding.force_utf8_encoding(request.ip),
lib/logtail-rack/version.rb
@@ -1,7 +1,7 @@
1
module Logtail
2
module Integrations
3
module Rack
4
- VERSION = "0.2.3"
+ VERSION = "0.2.4"
5
end
6
7
0 commit comments