Use of TYPE= parameter?
维护者通常 4 天内回复
@naveensingh 已经在做这个了。
开始于 2025年7月18日。
评估
这个 Issue 还没有评估数据。
描述
Checklist
- I can reproduce the bug with the latest version given here.
- I made sure that there are no existing issues - open or closed - to which I could contribute my information.
- I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
- I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
- I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
- This issue contains only one bug.
- I have read and understood the contribution guidelines.
Affected app version
v.1.2.2
Affected Android/Custom ROM version
GrapheneOS
Affected device model
Pixel 8
How did you install the app?
GitHub releases
Steps to reproduce the bug
On the suggestion of @naveensingh , here, I'm moving part of this discussion, here:
Going to vCard Elements in IANA, I see that TYPE= parameter can have only a limited set of values. eg. for the EMAIL property, it's only "work" and "home". Fossify appears to be using TYPE="any string", as you see above. Is there some spec conformant way of doing this properly? Besides IANA, these appear to be the relevant RFC's. Please let me know if I've missed anything:
4.0: https://datatracker.ietf.org/doc/html/rfc6350
4.0, Format Extension: https://www.rfc-editor.org/rfc/rfc6715.html
4.0 extension for character escaping; https://datatracker.ietf.org/doc/html/rfc6868
4.0 extension for JSContact: https://datatracker.ietf.org/doc/html/rfc9554
As a comparison, this is how the Stock AOSP contacts app present it, using "X-Landline" for example.
BEGIN:VCARD
VERSION:2.1
N:Last;First;Middle;Pre;Suffix
FN:Pre First Middle Last, Suffix
X-PHONETIC-FIRST-NAME:PFirst
X-PHONETIC-MIDDLE-NAME:PMiddle
X-PHONETIC-LAST-NAME:PLast
TEL;HOME:+1-510-555-6666
TEL;X-Landline:555-1215
X-ANDROID-CUSTOM:vnd.android.cursor.item/nickname;Nickname;1;;;;;;;;;;;;;
EMAIL;HOME:[email protected]
ADR;X-Home:;;300 Amsterdam Av., New York, NY 10027-2819;;;;
ADR;X-Custom-Label:;;300 Amsterdam Av., New York, NY 10027-2819;;;;
ORG:Company\;Department
TITLE:Title
URL:http://www.foobar.com
NOTE;ENCODING=QUOTED-PRINTABLE:=4E=6F=74=65=73=20=6C=6F=63=61=74=65=64=0A=48=65=72=65=21
END:VCARD
Expected behavior
Spec conformant.
Actual behavior
Non-spec conformant.
Screenshots/Screen recordings
No response
Additional information
No response
- 主要语言
- Kotlin
- 星标
- 917
- 派生
- 73
- 平均合并
- 5 天 8 小时
- 30 天内合并 PR
- 7
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
FossifyOrg/Contacts 的其他 Issue
-
feature request needs triage
难度 1/5 1 小时以内 新手友好度 72/100
FossifyOrg/Contacts#176 · 1 条评论 ·
维护者通常 4 天内回复
-
bug needs triage
难度 3/5 1-2 天 新手友好度 64/100
FossifyOrg/Contacts#618 ·
维护者通常 4 天内回复
-
feature request needs triage
难度 3/5 1-2 天 新手友好度 65/100
FossifyOrg/Contacts#614 · 1 条评论 ·
维护者通常 4 天内回复
-
New field: IBAN未关闭feature request needs triage
难度 4/5 3-5 天 新手友好度 48/100
FossifyOrg/Contacts#613 ·
维护者通常 4 天内回复
-
bug needs triage
难度 4/5 3-5 天 新手友好度 52/100
FossifyOrg/Contacts#612 · 5 条评论 · 1 个 reaction ·
维护者通常 4 天内回复
查看 FossifyOrg/Contacts 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 79/100
supabase-community/supabase-kt#1413 ·
维护者通常 5 天内回复
-
submit-adaption submit-adaption-pre
难度 2/5 1-3 小时 新手友好度 62/100
BetterAndroid/android-notification-icon-project#744 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 64/100
utopia-rise/godot-jvm#1004 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
pedroSG94/RootEncoder#2213 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
elm-tooling/intellij-elm#85 · 1 条评论 ·