Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sanitize path when generating MaD files #18800

Merged
merged 1 commit into from
Feb 18, 2025

Conversation

paldepind
Copy link
Contributor

When generating MaD for Rust filenames end up containing /s and :s that are problematic (or impossible) to include in paths.

With this PR the names of the created files are sanitized. For instance foo://bar/baz gets turned into foo-bar-baz.

Also makes some tiny tweaks to the documentation.

@paldepind paldepind requested review from Copilot and michaelnebel and removed request for Copilot February 17, 2025 12:48
Copy link
Contributor

@michaelnebel michaelnebel left a comment

Choose a reason for hiding this comment

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

Thx!

@paldepind paldepind merged commit 53557db into github:main Feb 18, 2025
14 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