Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jul 4, 2025. It is now read-only.
/cortex.cppPublic archive

fix: crash if invalid url is set#2142

Merged
vansangpfiev merged 5 commits intodevfroms/fix/pull
Mar 19, 2025
Merged

fix: crash if invalid url is set#2142

vansangpfiev merged 5 commits intodevfroms/fix/pull
Mar 19, 2025

Conversation

@vansangpfiev
Copy link
Contributor

Describe Your Changes

This pull request includes changes to improve URL validation in theModelService class within theengine/services/model_service.cc file. The primary focus is on enhancing error messages to provide clearer guidance on valid URL formats.

Improvements to URL validation:

  • cpp::result<DownloadTask, std::string> ModelService::HandleDownloadUrlAsync: Enhanced error message to include a valid URL example when the URL is invalid or has insufficient path parameters.
  • cpp::result<DownloadTask, std::string> ModelService::HandleDownloadUrlAsync: Removed redundant URL validation check for the number of path parameters.
  • cpp::result<ModelPullInfo, std::string> ModelService::GetModelPullInfo: Enhanced error message to include a valid URL example when the URL is invalid or has insufficient path parameters.

Fixes Issues

  • Closes #
  • Closes #

Self Checklist

  • Added relevant comments, esp in complex areas
  • Updated docs (for bug fixes / features)
  • Created issues for follow-up changes or refactoring needed

@vansangpfievvansangpfiev merged commit948396b intodevMar 19, 2025
8 checks passed
@vansangpfievvansangpfiev deleted the s/fix/pull branchMarch 19, 2025 02:50
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

1 more reviewer

@gau-nernstgau-nernstgau-nernst approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@vansangpfiev@gau-nernst@sangjanai

[8]ページ先頭

©2009-2025 Movatter.jp