Closed
Bug 557491
Opened 14 years ago
Closed 14 years ago
[autoconfig] emailAddress param not sent to autoconfig server
Categories
(Thunderbird :: Account Manager, defect, P1)
Thunderbird
Account Manager
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: BenB, Assigned: BenB)
Details
Attachments
(1 file)
903 bytes,
patch
|
bwinton
:
review+
|
Details | Diff | Splinter Review |
<https://developer.mozilla.org/en/Thunderbird/Autoconfiguration#Configuration_server_at_ISP> We query <http://autoconfig.example.com/mail/config-v1.xml> instead of <http://autoconfig.example.com/mail/config-v1.1.xml?emailAddress=user@example.com>. The lack of email address prevents the ISP to adjust the config, esp. the username, to the user, which is part of the point of the autoconfig server at the ISP.
Assignee | ||
Updated•14 years ago
|
Priority: -- → P1
Assignee | ||
Comment 1•14 years ago
|
||
Attachment #437281 -
Flags: review?(bwinton)
Comment 2•14 years ago
|
||
The emailAddress parameter is critical for a situation where the username has no direct link to the email address. e.g. email address is juho-pekka.kuitunen@example.org but username could be 'juhokuit'. If the parameter is given we can make a simple lookup to get the username from e.g. DB or LDAP.
Comment 3•14 years ago
|
||
Comment on attachment 437281 [details] [diff] [review] Fix, v1 I would love it if you could add a test, but it seems like a win to me even without the test. (Also, are you _sure_ you don't need parentheses around the "url.indexOf("?") == -1" part? Would you mind adding them, just to make me feel better? ;) Thanks, Blake.
Attachment #437281 -
Flags: review?(bwinton) → review+
Assignee | ||
Comment 4•14 years ago
|
||
Test build for Juho-Pekka: http://s3.mozillamessaging.com/build/try-server/2010-04-17_14:10-mozilla.BenB@bucksch.org-autoconfig-with-emailaddress/mozilla.BenB@bucksch.org-autoconfig-with-emailaddress-mail-try-win32.installer.exe http://s3.mozillamessaging.com/build/try-server/2010-04-17_14:10-mozilla.BenB@bucksch.org-autoconfig-with-emailaddress/mozilla.BenB@bucksch.org-autoconfig-with-emailaddress-mail-try-linux.tar.bz2 http://s3.mozillamessaging.com/build/try-server/2010-04-17_14:10-mozilla.BenB@bucksch.org-autoconfig-with-emailaddress/mozilla.BenB@bucksch.org-autoconfig-with-emailaddress-mail-try-mac.dmg
Assignee | ||
Comment 5•14 years ago
|
||
> (Also, are you _sure_ you don't need parentheses around the "url.indexOf("?") > == -1" part? Yes. <https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Operators/Operator_Precedence> == has higher precedence than ?: ?: has one of the lowest precedences of all, only higher than = assignment and comma
Comment 6•14 years ago
|
||
(Psst, you've got an r+, you can just check it in, instead of doing a try-server build. ;) Later, Blake.
Assignee | ||
Comment 7•14 years ago
|
||
*snicker*, yeah, noticed when I made the comment... I'm about to check in once the tree goes green.
Assignee | ||
Comment 8•14 years ago
|
||
Commited as <http://hg.mozilla.org/comm-central/rev/2f484966ab84> FIXED
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•