-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
API: Make BasicAuth Prefix case insensitive #14106
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
API: Make BasicAuth Prefix case insensitive #14106
Conversation
Codecov Report
@@ Coverage Diff @@
## master #14106 +/- ##
==========================================
- Coverage 42.37% 42.35% -0.03%
==========================================
Files 726 726
Lines 77839 77839
==========================================
- Hits 32982 32966 -16
- Misses 39447 39459 +12
- Partials 5410 5414 +4
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lafriks done |
🚀 |
Before:
curl -X POST "http://gitea.com/api/v1/... -H "accept: application/json" -H "authorization: Basic dTE6MTIzMTIz" ...
curl -X POST "http://gitea.com/api/v1/... -H "accept: application/json" -H "Authorization: Basic dTE6MTIzMTIz" ...
After:
curl -X POST "http://gitea.com/api/v1/... -H "accept: application/json" -H "authorization: Basic dTE6MTIzMTIz" ...
curl -X POST "http://gitea.com/api/v1/... -H "accept: application/json" -H "authorization: basic dTE6MTIzMTIz" ...
curl -X POST "http://gitea.com/api/v1/... -H "accept: application/json" -H "Authorization: basic dTE6MTIzMTIz" ...
curl -X POST "http://gitea.com/api/v1/... -H "accept: application/json" -H "Authorization: Basic dTE6MTIzMTIz" ...