Rendering bug in Firefox, threat level: annoyance
There is this rendering bug in Firefox that currently can be classified as an annoyance.
It was discovered during a discussion at the Ubuntu-GR mailing list and reported in June 2008, and at that time it would cause Firefox to crash. Therefore, it was deemed as a security issue, and the bug report was not made public. Just recently, the issue was revisited, current versions of Firefox do not crash, and the security tag was removed. It is quite possible that there is some existing report on the issue, and not being classified as a security bug, it will be easier sort out. Thus, have a look at bug report #441307.
The source of the rendering bug is the HTML code
<HR WIDTH=143165425 ALIGN=RIGHT>
So, you send an HTML e-mail and you add the above code. The code says to show a Horizontal line, with some huge width (here, you simply put 143165425).
Some versions of Firefox respond differently to this rendering bug, which probably relates to a different set of linked libraries. For example, the Firefox 3 found in Ubuntu Linux 8.10 is able to show the e-mail in GMail just fine (though it messes up with other pages). The above screenshots are by Minefield 3.1b2pre (64-bit). The Windows version of Firefox is also affected.
To try out yourself, create a file /tmp/mypoc.html with contents
<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.0 Transitional//EN”>
<HTML>
<HEAD>
</HEAD>
<BODY BGCOLOR=”#ffffff”>
<TABLE WIDTH=100% BORDER=0 CELLPADDING=2 CELLSPACING=2 BGCOLOR=”#e0e0e0″>
<TR>
<TD>
<HR WIDTH=143165425 ALIGN=RIGHT>
</TD>
</TR>
</TABLE>
This is a test.
<HR WIDTH=143165425 ALIGN=RIGHT>
Some more text.
</BODY>
</HTML>
Load it up in Firefox. Click to Select All, then Copy. You can then paste in your mailer, when you compose as HTML (for example, with Thunderbird).
Just to reiterate, this issue is currently at level annoyance, unless someone manages to produce an HTML file that can crash Firefox. If you manage to do so, please file a bug report at http://bugzilla.mozilla.org/ and specify the security settting so that the bug gets high priority.
Picasa, Hello και Blogspot
Πρόσφατα δοκίμασα το Picasa και το Hello, που είναι προγράμματα του Google για την διαχείριση και διάθεση φωτογραφιών. Για τώρα είναι μόνο για Windows
.
Με την χρήση των δύο μπορείς πολύ εύκολα να στείλεις μια φωτογραφία σου στο ιστολόγιό σου στο BlogSpot (και αυτό ανήκει στο Google), με αποτέλεσμα να μπορείς με φτηνό τρόπο να φιλοξενείς τις φωτογραφίες σου στο Διαδίκτυο. Με ένα μικρό πρόβλημα, πρέπει βλέπεις την σελίδα του ιστολογίου σου που περιλαμβάνει την εικόνα, για να μπορέσεις να δεις την εικόνα. Φυσικά αυτό το υλοποιούν με την χρήση του πεδίου referer της κεφαλίδας HTTP που στέλνεται όταν ο Firefox λαμβάνει τις εικόνες που απαρτίζουν μια ιστοσελίδα. Στο πεδίο referer μπαίνει το URL της ίδιας της σελίδας.
Στην υλοποίηση του BlogSpot έχουν την καλοσύνη να επιτρέπουν την πρόσβαση στις φωτογραφίες ακόμα και αν το πεδίο referer είναι κενό. Οπότε, αν ανοίξετε νέα στήλη (Ctrl-T) στο Firefox και γράψετε about:config στην περιοχή της τοποθεσίας, θα δείτε τις διαθέσιμες εσωτερικές ρυθμίσεις. Αν αναζήτησετε με φίλτρο referer, θα δείτε το κλειδί
network.http.sendRefererHeader = 2
Η τιμή 2 σημαίνει να συμπληρώνεται το πεδίο referer στη λήψη κάθε συστατικού της σελίδας, συμπεριλαμβανομένου και των εικόνων. Αν το αλλάξετε σε 1, δεν γίνεται αποστολή του πεδίου αυτού στις εικόνες, και μπορείτε να δείτε την παρακάτω εικόνα (φορτώστε τη σελίδα αυτή ξανά).

Η φωτογραφία είναι από ένα πάρκο με ενδιαφέροντα ζώα. Εδώ, γίνεται επίδειξη μιας σαύρας που ονομάζεται gecko. Υπήρχε η δυνατότητα στους επισκέπτες να πιάσουν το gecko, που όμως κανείς δεν δοκίμασε.

Ή αυτόν το σκορπιό.

