nextcloud / nextcloud/contacts
URL's being imported and then displayed with the "\"
Open
Nobody has claimed this yet.
0. Needs triage
bug
feature: contacts
feature: import
- Dominant language
- JavaScript
- Stars
- 642
- Forks
- 220
- Avg merge
- 14h 39m
- Merged PRs (30d)
- 51
Description
Describe the bug
Import this vCard, which was exported from google, and find that the URL is being imported and then displayed with the "\"
BEGIN:VCARD
VERSION:3.0
FN:BMW of Southpoint (Durham; NC)
N:;BMW of Southpoint (Durham\; NC);;;
TEL;TYPE=MAIN:+1.888 693 3645
item1.ADR:;;225 Kentington Dr;Durham;NC;27713;US;225 Kentington Dr\nDurham
\, NC 27713\nUS
item1.X-ABLabel:
item2.URL:https\://www.bmwsouthpoint.com/
item2.X-ABLabel:homePage
NOTE:Called 877-432-7841 to make appointment.\n\nHours: M-F\:9A-8P\; Sa\:9A
-6P
CATEGORIES:Auto,myContacts
END:VCARD
Steps to reproduce
See above.
Expected behavior
https://www.bmwsouthpoint.com/
Actual behavior
https\\://www.bmwsouthpoint.com/
Contact version
5.5.3
Operating system
CentOS 7.9
PHP engine version
PHP 8.1
Web server
Nginx
Database
PostgreSQL
Additional info
Thanks for your work!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is named. Reproduce the issue with the supplied Google-exported vCard, then trace the vCard import and contact URL display paths; done means the URL is shown as https://www.bmwsouthpoint.com/ without backslashes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, php
- Domain
- full-stack
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100