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

adds support for properties with multiple values #34

Closed

Conversation

oliverpool
Copy link
Contributor

Continuing the work started by @GorthMohogany in #11 to address #5

When decoding, it splits the value if it contains unescaped ,

From the original PR I dropped the space removal (strings.TrimSpace(value)) since I couldn't find anything in the RFC supporting this operation.

Note that it raises further questions for fields containing unescaped commas, like in https://datatracker.ietf.org/doc/html/rfc6350#section-8 (however those can be addressed in a later PR)

GEO;TYPE=work:geo:46.772673,-71.282945

@oliverpool
Copy link
Contributor Author

Actually, I am wondering if we shouldn't let the comma as-is (i.e. no escaping / no unescaping): the application should interpret them how they like (and this lib should make it easy to escape them)

@oliverpool oliverpool mentioned this pull request Oct 23, 2024
@oliverpool
Copy link
Contributor Author

Superseded by #35

@oliverpool oliverpool closed this Oct 23, 2024
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