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

Quote and escape special chars in mapping keys #205

Merged
merged 1 commit into from Nov 2, 2023

Conversation

smortex
Copy link
Member

@smortex smortex commented Nov 2, 2023

Previously, a mapping key could not include spaces because of the data
type. Some implementations of autofs do support such keys when they are
properly quoted so do not limit their use with the module and properly
quote the key when it has special characters.

These chars still need to be manualy espaced when used with the fs
parameter because it is managed as a single String. This will be
addressed in a follow-up commit as it will be a breaking change.

Previously, a mapping key could not include spaces because of the data
type.  Some implementations of autofs do support such keys when they are
properly quoted so do not limit their use with the module and properly
quote the key when it has special characters.

These chars still need to be manualy espaced when used with the fs
parameter because it is managed as a single String. This will be
addressed in a follow-up commit as it will be a breaking change.
@smortex smortex added the enhancement New feature or request label Nov 2, 2023
@smortex smortex merged commit 71da422 into master Nov 2, 2023
34 checks passed
@smortex smortex deleted the escape-special-char-in-mapping-keys branch November 2, 2023 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants