Skip to content
This repository was archived by the owner on May 9, 2024. It is now read-only.

fix: could not deliver the client IP when X-Forwarded-For is empty #43

Merged
merged 2 commits into from
Jul 22, 2021

Conversation

adrysn
Copy link
Member

@adrysn adrysn commented Jul 22, 2021

No description provided.

@adrysn adrysn self-assigned this Jul 22, 2021
@codecov
Copy link

codecov bot commented Jul 22, 2021

Codecov Report

Merging #43 (275ff53) into main (f73e1bc) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main      #43   +/-   ##
=======================================
  Coverage   96.87%   96.87%           
=======================================
  Files           2        2           
  Lines          32       32           
=======================================
  Hits           31       31           
  Misses          1        1           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f73e1bc...275ff53. Read the comment docs.

@adrysn adrysn added the bug Something isn't working label Jul 22, 2021
@adrysn adrysn added this to the 21.03 milestone Jul 22, 2021
@adrysn adrysn merged commit 080b077 into main Jul 22, 2021
@adrysn adrysn deleted the fix/fill-client-ip-when-x-forwarded-for-is-empty branch July 22, 2021 13:43
adrysn added a commit that referenced this pull request Jul 22, 2021
Deliver the client IP by referencing request.remote when X-Forwarded-For is empty.

Backported-From: main
Backported-To: 21.03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant