Skip to content

use urlencode to prevent breaking collection name with % in it#7759

Merged
generall merged 2 commits intodevfrom
properly-construct-url
Dec 14, 2025
Merged

use urlencode to prevent breaking collection name with % in it#7759
generall merged 2 commits intodevfrom
properly-construct-url

Conversation

@generall
Copy link
Member

No description provided.

@generall generall requested review from coszio and xzfc December 13, 2025 13:50
coderabbitai[bot]

This comment was marked as resolved.

Copy link
Member

@xzfc xzfc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM%20%F0%9F%91%8D

Comment on lines 230 to 232
shard_download_url.set_path(&format!(
"/collections/{collection_id}/shards/{shard_id}/snapshots/{}",
"/collections/{encoded_collection_name}/shards/{shard_id}/snapshots/{}",
&snapshot_description.name,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe do the same for snapshot_description.name?

@generall generall merged commit 9401f15 into dev Dec 14, 2025
15 checks passed
@generall generall deleted the properly-construct-url branch December 14, 2025 11:50
timvisee pushed a commit that referenced this pull request Dec 18, 2025
* use urlencode to prevent breaking collection name with % in it

* do the same for snapshot_description.name
@qdrant qdrant deleted a comment from coderabbitai bot Dec 19, 2025
@timvisee timvisee mentioned this pull request Dec 19, 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