Red Hat Bugzilla – Bug 137314
Sizes reported incorrectly in attachment list
Last modified: 2007-04-18 13:14:22 EDT
Ulrich Drepper wrote:
> It's at least not too low. Still, the size is not accurate. Maybe you
> are measuring it with the envelope HTML? In bug 136906 the attachment
> is 472 bytes in size when you download it. The bug output says 641
> bytes. It's not critically important. I'd use the value only to judge
> who big the download would be so the order of magnitude is enough.
> Maybe then values should be displayed as 1kB, 1.5MB or so...
Actually I know what is wrong now and not sure why I didnt think about it
before. I am converting the
data to Base64 before inserting into the DB, the size is coming from the
length() function built into PostgreSQL
and is reporting the size of the Base64 data and not the actual data. I will
create a bug report for this and look
into fixing the problem.
Version-Release number of selected component (if applicable):
Will be fixed in beta3. Checked in to cvs.