Skip to content

openurl: fix URL scheme handling case-insensitive#3521

Merged
vangent merged 1 commit intogoogle:masterfrom
Gofastasf:fix/schemes
Feb 7, 2025
Merged

openurl: fix URL scheme handling case-insensitive#3521
vangent merged 1 commit intogoogle:masterfrom
Gofastasf:fix/schemes

Conversation

@Gofastasf
Copy link
Contributor

  • Add strings.ToLower for string normalization
  • Align with RFC 3986 specifications for URL scheme handling
  • Use direct map look up in ValidSchem func

- Add strings.ToLower for string normalization
- Align with RFC 3986 specifications for URL scheme handling
- Use direct map look up in ValidSchem func
@codecov
Copy link

codecov bot commented Feb 7, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 73.30%. Comparing base (4d1f585) to head (27cd33f).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3521      +/-   ##
==========================================
- Coverage   73.31%   73.30%   -0.02%     
==========================================
  Files         113      113              
  Lines       15080    15079       -1     
==========================================
- Hits        11056    11053       -3     
- Misses       3259     3261       +2     
  Partials      765      765              

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

@vangent vangent merged commit af15ad4 into google:master Feb 7, 2025
6 checks passed
sandeepvinayak pushed a commit to sandeepvinayak/go-cloud that referenced this pull request Apr 10, 2025
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