Closed
Bug 981884
Opened 11 years ago
Closed 11 years ago
User icon upload fails due to removed transfer host settings
Categories
(Chat Core :: Yahoo! Messenger, defect)
Chat Core
Yahoo! Messenger
Tracking
(Not tracked)
RESOLVED
FIXED
1.6
People
(Reporter: qheaden, Assigned: qheaden)
Details
Attachments
(1 file, 2 obsolete files)
|
2.76 KB,
patch
|
clokep
:
review+
|
Details | Diff | Splinter Review |
In a past patch, the xfer_host and xfer_port settings for the JS-Yahoo plugin were commented out. It was forgotten that these settings are used by the icon upload code to upload a user icon to the Yahoo servers. It needs to be added back, but not as a setting. Rather, it can be hard coded into the plug-in.
| Assignee | ||
Comment 1•11 years ago
|
||
This patch places the transfer server information into constants for the upload code to use.
Attachment #8388837 -
Flags: review?(clokep)
Comment 2•11 years ago
|
||
Comment on attachment 8388837 [details] [diff] [review]
bug-981884-patch-1.patch
Review of attachment 8388837 [details] [diff] [review]:
-----------------------------------------------------------------
This was bad on my part. :( A trivial thing to fix and it'll be an r+. Thanks for looking at this!
::: chat/protocols/yahoo/yahoo-session.jsm
@@ +29,4 @@
> const kPacketHeaderSize = 20;
> const kProfileIconWidth = 96;
>
> +const kFileTransferHost = "filetransfer.msg.yahoo.com";
Please include the comment you had about getting the preferences, I think it's valuable to understand why we're defining these constants.
Attachment #8388837 -
Flags: review?(clokep) → review-
Updated•11 years ago
|
Assignee: nobody → qheaden
Status: NEW → ASSIGNED
| Assignee | ||
Comment 3•11 years ago
|
||
I've added the comment above the constants.
Attachment #8388837 -
Attachment is obsolete: true
Attachment #8389665 -
Flags: review?(clokep)
Comment 4•11 years ago
|
||
Comment on attachment 8389665 [details] [diff] [review]
Patch 2
Review of attachment 8389665 [details] [diff] [review]:
-----------------------------------------------------------------
::: chat/protocols/yahoo/yahoo-session.jsm
@@ +29,5 @@
> const kPacketHeaderSize = 20;
> const kProfileIconWidth = 96;
>
> +// We use constants to store the file transfer server information instead of
> +// preferences since these values aren't to be changed by the user.
The comment I meant to include was "The Yahoo! file transfer server is used to upload the user icon." Sorry for being unclear.
Attachment #8389665 -
Flags: review?(clokep) → review-
| Assignee | ||
Comment 5•11 years ago
|
||
Fixed the comment from patch 2.
Attachment #8389665 -
Attachment is obsolete: true
Attachment #8418118 -
Flags: review?(clokep)
Updated•11 years ago
|
Attachment #8418118 -
Flags: review?(clokep) → review+
Comment 6•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.6
You need to log in
before you can comment on or make changes to this bug.
Description
•