Skip to content

Handle URLs in GetFileContentType and add null check#1346

Merged
yileicn merged 2 commits intoSciSharp:masterfrom
adenchen123:master
May 7, 2026
Merged

Handle URLs in GetFileContentType and add null check#1346
yileicn merged 2 commits intoSciSharp:masterfrom
adenchen123:master

Conversation

@adenchen123
Copy link
Copy Markdown
Contributor

No description provided.

aden.chen and others added 2 commits May 7, 2026 15:49
Improved GetFileContentType to extract the path from URLs before resolving content type, ensuring correct handling of query strings. Added a check to return an empty string if fileName is null or empty.
@qodo-code-review
Copy link
Copy Markdown
Contributor

ⓘ You've reached your Qodo monthly free-tier limit. Reviews pause until next month — upgrade your plan to continue now, or link your paid account if you already have one.

@yileicn yileicn merged commit d949e89 into SciSharp:master May 7, 2026
4 checks passed
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