Closed Bug 1722245 Opened 5 years ago Closed 5 years ago

TXT dns record skipped during bootstrap (involving Account Autoconfiguration and CardDAV)

Categories

(Thunderbird :: Account Manager, defect)

Thunderbird 91
defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: dpa-mozilla, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:90.0) Gecko/20100101 Firefox/90.0

Steps to reproduce:

I delete ~/.thunderbird and ~/.cache/thunderbird, then start TB91b2. I configure an account for aaa@aegee.org with password abc . TB finds the IMAP and SMTP servers. I click on “Done”.

The developer console shows, that TB fetched first https://autoconfig.aegee.org/mail/config-v1.1.xml?emailaddress=aaa@aegee.org which returned 200. Then TB tried https://aegee.org/.well-known/autoconfig/mail/config-v1.1.xml , which failed. Afterwards it tries insecure HTTP. If https://autoconfig.aegee.org/mail/config-v1.1.xml?emailaddress=aaa@aegee.org works, no further autodisovery shall be done.

I click on DONE. Now Thunderbird says: found 5 calendars. And it offers a button “Connect to a CardDAV address book”. I click the latter. It asks for username and location. As username I provide aaa@agee.org and enter no location. Thunderbird calls https://cal.aegee.org/.well-known/carddav, which does not exist and TB fails.

According to RFC 6764 TB should have been retrieved the records

dig srv _carddavs._tcp.aegee.org → SRV 0 1 444 cal.aegee.org.
dig txt _carddavs._tcp.aegee.org → TXT "path=/dav/addressbooks"

and skipped the https://cal.aegee.org/.well-known/carddav call.

I setup the propfind call on https://cal.aegee.org/.well-known/carddav and repeat the procedure from the beginning.

Now TB finds one addressbook (“bodies”). This means, that TB has not authenticated to the server, as otherwise the server would have returned two addressbook-home-sets, each containg one addressbook.

I open the addressbook and click on Bodies → AEGEE-Athina. In the bottom/detail secrion, on the right is written “Work Antenna AEGEE Greece” and “Get Map down-arrow”. The Get Map and the “Greece” text overlap.

Expected results:

https://aegee.org/.well-known/autoconfig/mail/config-v1.1.xml shall not be fetched
https://cal.aegee.org/.well-known/carddav, shall not be fetched
• TB shall authenticate itself to the carddav server, otherwise the server migth return correct answers for the unauthenticated user
• The “Get map” button shall not overlap other text.

Good day reporter, your bug report is very hard to understand, because de facto you are mixing different aspects.
Please file a new description which strictly observes the required separation between:

STR

  1. do this
  2. do that

Actual result

  • at/after step 1: this happened
  • at/after step 2: that happened

Expected result

  • at/after step 1: this should have happened
  • at/after step 2: that should have happened
Component: Address Book → Account Manager
Flags: needinfo?(dpa-mozilla)
Summary: TXT dns record skipped during bootstrap → TXT dns record skipped during bootstrap (involving Account Autoconfiguration and CardDAV)
Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → INVALID
Flags: needinfo?(dpa-mozilla)
You need to log in before you can comment on or make changes to this bug.