Closed Bug 433687 Opened 16 years ago Closed 16 years ago

Clean up nsISmtpUrl/nsIMailtoUrl and tidy some other mailnews url functions

Categories

(MailNews Core :: Backend, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.9

People

(Reporter: standard8, Assigned: standard8)

References

Details

Attachments

(2 files)

As I need to do some improvements to our url handling for the password manager bugs, I want to do some to nsISmtpUrl and nsIMailtoURL. Whilst I'm in the area, I noticed some functions we no longer need/user, so I'm dropping them as well.

With the nsIMailtoURL::GetMessageContents function, I separated out the items we don't use into different attributes. This allows us to only call with the parameters we need, but allows extensions to still get to the other items. Which in turn allows us to use ACString rather than string as the idl arguements.

I also completely dropped the attachments option because of the security issues.

There's also some variable name clean up as well (drop the 'a' prefix from variables that aren't arguments).
Attachment #320889 - Flags: review?(bienvenu)
Comment on attachment 320889 [details] [diff] [review]
The fix (diff -w)

+   * recipients to send the email to. each name is NULL terminated.

Can you make that Each, i.e., fix the capitalization?
Attachment #320889 - Flags: review?(bienvenu) → review+
Attachment #320889 - Flags: superreview?(neil)
Attachment #320889 - Flags: superreview?(neil) → superreview+
Patch checked in with captilisation fixed.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9
Depends on: 441075
Product: Core → MailNews Core
Depends on: 475909
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: