Open Bug 937757 Opened 12 years ago Updated 3 years ago

image size affected when fetched via the command line

Categories

(Core :: Graphics: ImageLib, defect)

26 Branch
x86
Linux
defect

Tracking

()

UNCONFIRMED

People

(Reporter: jidanni, Unassigned)

References

()

Details

User Agent: Mozilla/5.0 (X11; Linux i686; rv:26.0) Gecko/20100101 Firefox/26.0 Iceweasel/26.0a2 (Beta/Release) Build ID: 20131020004007 Steps to reproduce: Browsed http://graph.facebook.com/jidanni/picture?width=80&height=80 Actual results: Got an image with a size (as seen in its URL too) different than 80x80. Expected results: URL with /s80x80/ with 80x80 image, as seen in other browsers.
Works fine to me on FF 26b5 and nightly 28.0a1 (2013-11-17). Please check if the issue occurs using Firefox in safe mode (with your addons disabled): http://support.mozilla.com/kb/Safe+Mode Or on a new, empty profile: http://support.mozilla.org/en-US/kb/Managing-profiles#w_starting-the-profile-manager
Flags: needinfo?(jidanni)
Further tests show that this occurs when using the command line. # set ' http://graph.facebook.com/jidanni/picture?width=80&height=80' # su - nobody -c 'HOME=/tmp firefox '"$@" #super pristine environment Compare from command line http://profile.ak.fbcdn.net/hprofile-ak-ash2/s86x86/379970_544950468861620_826405226_s.jpg VS. http://profile.ak.fbcdn.net/hprofile-ak-ash2/c9.9.112.112/s80x80/379970_544950468861620_826405226_s.jpg from URL bar, where everything is OK. Also Google Chrome shows same problem. (And no, the "&" didn't get snapped off due to Linux shell, as that would have given a different picture still,)
Flags: needinfo?(jidanni)
Summary: image size affected when fetched → image size affected when fetched via the command line
One would expect $ set 'http://graph.facebook.com/jidanni/picture?width=80&height=80' $ HEAD -PSU $@ HEAD http://graph.facebook.com/jidanni/picture?width=80&height=80 User-Agent: lwp-request/6.03 libwww-perl/6.05 302 forced.302 HEAD http://profile.ak.fbcdn.net/hprofile-ak-ash2/c9.9.112.112/s80x80/379970_544950468861620_826405226_s.jpg User-Agent: lwp-request/6.03 libwww-perl/6.05 200 OK Cache-Control: max-age=1209600 Connection: close Date: Mon, 18 Nov 2013 15:00:21 GMT Content-Length: 2659 Content-Type: image/jpeg Last-Modified: Sat, 20 Apr 2013 00:10:57 GMT Access-Control-Allow-Origin: * Client-Date: Mon, 18 Nov 2013 15:00:21 GMT Client-Peer: 72.246.189.242:80 Client-Response-Num: 1
So why with the command line does one end up with 86x86?
Component: Untriaged → ImageLib
Product: Firefox → Core
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.