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

fix: properly escape all values in key=value parameters #12

Closed
wants to merge 1 commit into from

Conversation

Tuetuopay
Copy link
Contributor

@Tuetuopay Tuetuopay commented Jun 10, 2022

The previous regex and handling only allowed for , to be escaped, leaving out the = character as un-escapeable. This is problematic when the value needs one, such as adding #[cfg(feature = "...", ...)] directives to types using the type_attribute from the prost generator.

The previous regex and handling only allowed for `,` to be escaped,
leaving out the `=` character as un-escapeable. This is problematic when
the value needs one, such as adding `#[cfg(feature = "...", ...)]`
directives to types using the `type_attribute` from the prost generator.
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.

1 participant