Closed
Bug 1112613
Opened 10 years ago
Closed 7 years ago
Area to profile picture upload on https://addons.mozilla.org has no control size
Categories
(addons.mozilla.org Graveyard :: Developer Pages, defect)
addons.mozilla.org Graveyard
Developer Pages
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: testbr09, Unassigned)
Details
Attachments
(1 file)
74 bytes,
image/svg+xml
|
Details |
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.65 Safari/537.36 OPR/26.0.1656.32 Steps to reproduce: 1 access https://addons.mozilla.org and sign in 2 access account settings 3 on profile picture area attempt to load an image with a very acceptable size greater than (in this case the image had a size greater than 30MB) Actual results: The process has no limit and appears to occur normally. This creates an unnecessary processing by the server. Expected results: Solution: Limit the profile picture size to avoid unnecessary processing. 2MB or less would be acceptable in my opinion
Updated•9 years ago
|
Component: Operations → Developer Pages
Product: Mozilla Services → addons.mozilla.org
Version: other → unspecified
Assignee | ||
Updated•8 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
+wezhou: Do you know if profile picture uploads are limited in size?
Flags: needinfo?(wezhou)
Looking at https://github.com/mozilla/addons-server/blob/master/src/olympia/users/forms.py#L178-L181, I think there is a size limit for profile photos. And the default size is 4MB according to https://github.com/mozilla/addons-server/blob/master/src/olympia/lib/settings_base.py#L1353. If it's not the case, please file a bug here: https://github.com/mozilla/addons-server/issues/new
Flags: needinfo?(wezhou)
Thanks :wezhou! This might've been valid when reported, but I'm closing it as invalid now.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•