You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see that the spec doesn't seem to offer a means of quoting a double quote:
param-value = *SAFE-CHAR / DQUOTE *QSAFE-CHAR DQUOTE
any-param = (iana-token / x-name) "=" param-value *("," param-value)
NON-ASCII = UTF8-2 / UTF8-3 / UTF8-4
; UTF8-{2,3,4} are defined in [[RFC3629](https://datatracker.ietf.org/doc/html/rfc3629)]
QSAFE-CHAR = WSP / "!" / %x23-7E / NON-ASCII
; Any character except CTLs, DQUOTE
SAFE-CHAR = WSP / "!" / %x23-39 / %x3C-7E / NON-ASCII
; Any character except CTLs, DQUOTE, ";", ":"
So unless you want to introduce '\"', in a way analogous to the use of '\;' in ORG:Company\;Department , then perhaps there should be a softer failure mode?
Question
What is the internal representation of contacts that allows "Something; Tricky" to be displayed, but not exported?
Checklist
Affected app version
1.1.0
Affected Android/Custom ROM version
GrapheneOS
Affected device model
Pixel 7
How did you install the app?
GitHub releases
Steps to reproduce the bug
Create a vCard with custom labels like:
Cell First, Last
"Something; Tricky"
The labels are shown correctly in the app. They are also shown correctly in Stock.
Sharing the card from Stock to a text editor generates a vCard with no labels:
Sharing the card from Fossify produces an error:
Selecting a text editor anyway, produces an empty card.
Expected behavior
No error and a valid vCard.
Actual behavior
Error and empty vCard
Screenshots/Screen recordings
Additional information
The error appears to be caused by the quotation marks in the label for the number 666-2323. Removing those, I am able to export from Fossify as:
I see that the spec doesn't seem to offer a means of quoting a double quote:
So unless you want to introduce '\"', in a way analogous to the use of '\;' in ORG:Company\;Department , then perhaps there should be a softer failure mode?
Question
What is the internal representation of contacts that allows "Something; Tricky" to be displayed, but not exported?
Also, other questions about the behavior, here.
The text was updated successfully, but these errors were encountered: