mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-22 13:34:17 +02:00
* Fix percent-encoded skill file names unreadable in resources mode Encode supporting-file paths explicitly (quote/unquote) when building and resolving skill:// resource URIs, instead of relying on AnyUrl's implicit encoding. This also closes the ambiguity where a file literally named "setup%20guide.md" would collide with "setup guide.md" once both were percent-encoded. Fixes #4545 * Quote main_file_name when building its resource URI Keeps the main-file URI on the same explicit quote/unquote round-trip as supporting files, so a custom main_file_name containing a literal '%' still resolves after the shared unquote() in _get_resource(). |
||
|---|---|---|
| .. | ||
| local_provider_tools | ||
| openapi | ||
| proxy | ||
| __init__.py | ||
| test_addressing.py | ||
| test_base_provider.py | ||
| test_fastmcp_provider.py | ||
| test_local_provider.py | ||
| test_local_provider_prompts.py | ||
| test_local_provider_resources.py | ||
| test_prefab_roundtrip.py | ||
| test_prefab_synthesis.py | ||
| test_skills_provider.py | ||
| test_skills_vendor_providers.py | ||
| test_transforming_provider.py | ||