FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Context.Scheme should validate values taken from header by aldas · Pull Request #2953 · labstack/echo · GitHub

/ echo Public

Context.Scheme should validate values taken from header - #2953

Merged
aldas merged 1 commit into
labstack:masterfrom
aldas:context_scheme_valid_proto
Apr 25, 2026
Merged

Context.Scheme should validate values taken from header#2953
aldas merged 1 commit into
labstack:masterfrom
aldas:context_scheme_valid_proto

Conversation

aldas commented Apr 25, 2026

Copy link
Copy Markdown
Contributor

Relates to: #2952

codecov Bot commented Apr 25, 2026
edited
Loading

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.08%. Comparing base (22e4b71) to head (9535b1c).
⚠️ Report is 6 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2953   +/-   ##
=======================================
  Coverage   93.07%   93.08%           
=======================================
  Files          43       43           
  Lines        4506     4510    +4     
=======================================
+ Hits         4194     4198    +4     
  Misses        195      195           
  Partials      117      117           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

aldas merged commit d1d8ad3 into labstack:master Apr 25, 2026
10 checks passed
aldas deleted the context_scheme_valid_proto branch April 25, 2026 12:12

Copy link
Copy Markdown
Contributor

This looks good to me.

One small note. Since HTTPS passes validation but redirect middleware compares against "https", returning the normalized lowercase value might avoid an extra redirect.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL