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

Allow for = character in custom property fields #57

Merged
merged 1 commit into from Nov 8, 2022

Conversation

PeterNovotney
Copy link

The code to split custom property fields into field name and value splits the string by '=' and only allows for there to be one '=', effectively splitting the string in two. This prevents the value of the field from having any equals characters.

This change makes it so the string is split into at most 2 sections, which still checks that an equal sign exists, but allows for the value string to have equals characters.

Copy link
Contributor

@samlown samlown left a comment

Choose a reason for hiding this comment

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

Nice! As a rule, this is good practice! Thanks!

@samlown samlown merged commit a7e9715 into invopop:main Nov 8, 2022
@PeterNovotney PeterNovotney deleted the allow-equals branch November 8, 2022 16:41
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.

None yet

2 participants