Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add prefix from X-Forwarded-Prefix in redirectTrailingSlash #1238

Merged
merged 4 commits into from Feb 27, 2019
Merged

add prefix from X-Forwarded-Prefix in redirectTrailingSlash #1238

merged 4 commits into from Feb 27, 2019

Conversation

tudurom
Copy link
Contributor

@tudurom tudurom commented Jan 28, 2018

Very useful when using Gin with some reverse proxies like Traefik

@codecov
Copy link

codecov bot commented Jan 28, 2018

Codecov Report

Merging #1238 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1238      +/-   ##
==========================================
+ Coverage   98.49%   98.49%   +<.01%     
==========================================
  Files          41       41              
  Lines        2062     2064       +2     
==========================================
+ Hits         2031     2033       +2     
  Misses         19       19              
  Partials       12       12
Impacted Files Coverage Δ
gin.go 99.1% <100%> (ø) ⬆️

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 e207a3c...2116e15. Read the comment docs.

@thinkerou
Copy link
Member

@tudurom please fix conflict, thanks!

gin.go Show resolved Hide resolved
@thinkerou thinkerou merged commit ccb105d into gin-gonic:master Feb 27, 2019
@thinkerou thinkerou added this to the 1.4 milestone Feb 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants