fix(gateway): preserve spaced MEDIA file paths#24132
Closed
exscape86-lang wants to merge 1 commit into
Closed
Conversation
Allow unquoted MEDIA tags to include Windows drive paths and common GIS/structured-data extensions when the path contains spaces. Closes NousResearch#24032
This was referenced May 12, 2026
This was referenced May 20, 2026
fix(gateway): recognize Windows drive-letter paths in extract_local_files() bare-path uploads
#28991
Closed
Author
|
Closing to keep local/runtime-specific gateway changes private/local-only. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
MEDIA:paths with spaces, including Windows drive paths.kmz,kml,geojson,gpx,json,xml,html) to the spaced-path matcher.Closes #24032
Test Plan
python -m pytest tests/gateway/test_platform_base.py::TestExtractMedia -q -o addopts=python -m pytest tests/gateway/test_send_image_file.py tests/gateway/test_signal.py::TestSignalMediaExtraction::test_extract_media_finds_image_tag tests/gateway/test_signal.py::TestSignalMediaExtraction::test_extract_media_finds_audio_tag -q -o addopts=python -m pytest tests/gateway/test_platform_base.py -q -o addopts=