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: escape according to value types #106

Merged
merged 2 commits into from
Aug 13, 2024
Merged

fix: escape according to value types #106

merged 2 commits into from
Aug 13, 2024

Conversation

hoodie
Copy link
Owner

@hoodie hoodie commented Aug 13, 2024

We now look determine the value-type of a property (either by name or parameter) and escape/unescape accordingly.
This fixes #104

At the moment this only distinguishes between TEXT and non-TEXT, but technically the value type should also be considered when parsing dates vs durations etc.

@hoodie hoodie force-pushed the feature/value-types branch 2 times, most recently from fb07391 to c65fe71 Compare August 13, 2024 19:47
@hoodie hoodie force-pushed the feature/value-types branch 2 times, most recently from 21c0ed8 to 96d3e0d Compare August 13, 2024 19:56
this fixes #104 (introduced in 0.16.2) where URL properties got
unnecessarily escaped
@hoodie hoodie force-pushed the feature/value-types branch from 96d3e0d to 156177d Compare August 13, 2024 20:06
@hoodie hoodie merged commit 967a7e5 into main Aug 13, 2024
13 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.

Extra backslash inserted into property value
1 participant