<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ilPestifero &#187; firefox</title>
	<atom:link href="http://www.ilpestifero.net/tag/firefox/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ilpestifero.net</link>
	<description>uno sguardo critico al mondo che ci circonda</description>
	<lastBuildDate>Fri, 10 Feb 2012 08:24:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Se abusate anche voi di #twitter con #firefox 8  potete ricercare sia i nomi che gli hashtags dalla barra principale http://t.co/CIBwOZFA</title>
		<link>http://www.ilpestifero.net/2011/11/29/se-abusate-anche-voi-di-twitter-con-firefox-8-potete-ricercare-sia-i-nomi-che-gli-hashtags-dalla-barra-principale-httpt-cocibwozfa/</link>
		<comments>http://www.ilpestifero.net/2011/11/29/se-abusate-anche-voi-di-twitter-con-firefox-8-potete-ricercare-sia-i-nomi-che-gli-hashtags-dalla-barra-principale-httpt-cocibwozfa/#comments</comments>
		<pubDate>Tue, 29 Nov 2011 14:12:37 +0000</pubDate>
		<dc:creator>ilpestifero</dc:creator>
				<category><![CDATA[twitter]]></category>
		<category><![CDATA[firefox]]></category>

		<guid isPermaLink="false">http://www.ilpestifero.net/2011/11/29/se-abusate-anche-voi-di-twitter-con-firefox-8-potete-ricercare-sia-i-nomi-che-gli-hashtags-dalla-barra-principale-httpt-cocibwozfa/</guid>
		<description><![CDATA[Se abusate anche voi di #twitter con #firefox 8 potete ricercare sia i nomi che gli hashtags dalla barra principale http://t.co/CIBwOZFA]]></description>
			<content:encoded><![CDATA[<p>Se abusate anche voi di <a href="http://search.twitter.com/search?q=%23twitter" rel="nofollow">#twitter</a> con <a href="http://search.twitter.com/search?q=%23firefox" rel="nofollow">#firefox</a> 8  potete ricercare sia i nomi che gli hashtags dalla barra principale <a href="http://t.co/CIBwOZFA" rel="nofollow">http://t.co/CIBwOZFA</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.ilpestifero.net/2011/11/29/se-abusate-anche-voi-di-twitter-con-firefox-8-potete-ricercare-sia-i-nomi-che-gli-hashtags-dalla-barra-principale-httpt-cocibwozfa/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>@robertnyman I use also Web Developer extension from Chris Pederick http://t.co/ljFwhm9B #firefox</title>
		<link>http://www.ilpestifero.net/2011/11/22/robertnyman-i-use-also-web-developer-extension-from-chris-pederick-httpt-coljfwhm9b-firefox/</link>
		<comments>http://www.ilpestifero.net/2011/11/22/robertnyman-i-use-also-web-developer-extension-from-chris-pederick-httpt-coljfwhm9b-firefox/#comments</comments>
		<pubDate>Tue, 22 Nov 2011 09:01:43 +0000</pubDate>
		<dc:creator>ilpestifero</dc:creator>
				<category><![CDATA[twitter]]></category>
		<category><![CDATA[firefox]]></category>

		<guid isPermaLink="false">http://www.ilpestifero.net/2011/11/22/robertnyman-i-use-also-web-developer-extension-from-chris-pederick-httpt-coljfwhm9b-firefox/</guid>
		<description><![CDATA[@robertnyman I use also Web Developer extension from Chris Pederick http://t.co/ljFwhm9B #firefox]]></description>
			<content:encoded><![CDATA[<p>@<a href="http://twitter.com/robertnyman" rel="nofollow">robertnyman</a> I use also Web Developer extension from Chris Pederick <a href="http://t.co/ljFwhm9B" rel="nofollow">http://t.co/ljFwhm9B</a> <a href="http://search.twitter.com/search?q=%23firefox" rel="nofollow">#firefox</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.ilpestifero.net/2011/11/22/robertnyman-i-use-also-web-developer-extension-from-chris-pederick-httpt-coljfwhm9b-firefox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>#Firefox (dal 3.5) ha ridotto le possibilità di differenziare i link visitati x proteggere la  nostra #privacy http://t.co/nCKRlUBZ Applausi</title>
		<link>http://www.ilpestifero.net/2011/09/26/firefox-dal-3-5-ha-ridotto-le-possibilita-di-differenziare-i-link-visitati-x-proteggere-la-nostra-privacy-httpt-conckrlubz-applausi/</link>
		<comments>http://www.ilpestifero.net/2011/09/26/firefox-dal-3-5-ha-ridotto-le-possibilita-di-differenziare-i-link-visitati-x-proteggere-la-nostra-privacy-httpt-conckrlubz-applausi/#comments</comments>
		<pubDate>Mon, 26 Sep 2011 09:34:11 +0000</pubDate>
		<dc:creator>ilpestifero</dc:creator>
				<category><![CDATA[twitter]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[privacy]]></category>

		<guid isPermaLink="false">http://www.ilpestifero.net/2011/09/26/firefox-dal-3-5-ha-ridotto-le-possibilita-di-differenziare-i-link-visitati-x-proteggere-la-nostra-privacy-httpt-conckrlubz-applausi/</guid>
		<description><![CDATA[#Firefox (dal 3.5) ha ridotto le possibilità di differenziare i link visitati x proteggere la nostra #privacy http://t.co/nCKRlUBZ Applausi]]></description>
			<content:encoded><![CDATA[<p><a href="http://search.twitter.com/search?q=%23Firefox" rel="nofollow">#Firefox</a> (dal 3.5) ha ridotto le possibilità di differenziare i link visitati x proteggere la  nostra <a href="http://search.twitter.com/search?q=%23privacy" rel="nofollow">#privacy</a> <a href="http://t.co/nCKRlUBZ" rel="nofollow">http://t.co/nCKRlUBZ</a> Applausi</p>]]></content:encoded>
			<wfw:commentRss>http://www.ilpestifero.net/2011/09/26/firefox-dal-3-5-ha-ridotto-le-possibilita-di-differenziare-i-link-visitati-x-proteggere-la-nostra-privacy-httpt-conckrlubz-applausi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Internet Explorer è un bug unico</title>
		<link>http://www.ilpestifero.net/2011/07/26/internet-explorer-e-un-bug-unico/</link>
		<comments>http://www.ilpestifero.net/2011/07/26/internet-explorer-e-un-bug-unico/#comments</comments>
		<pubDate>Tue, 26 Jul 2011 13:05:21 +0000</pubDate>
		<dc:creator>ilpestifero</dc:creator>
				<category><![CDATA[Programmazione]]></category>
		<category><![CDATA[Web design]]></category>
		<category><![CDATA[Web standard]]></category>
		<category><![CDATA[cache-control]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[header]]></category>
		<category><![CDATA[internet explorer]]></category>
		<category><![CDATA[pdf]]></category>
		<category><![CDATA[pragma]]></category>
		<category><![CDATA[ssl]]></category>
		<category><![CDATA[symfony]]></category>

		<guid isPermaLink="false">http://www.ilpestifero.net/?p=1506</guid>
		<description><![CDATA[Dopo averci combattuto per molti giorni, finalmente ho risolto un problema che affliggeva un&#8217;applicazione web sulla quale sto lavorando in azienda. Il problema, che al solito si verificava solo su Internet Explorer (dalla versione 6 in avanti, almeno fino alla 8, non ho verificato la 9), impediva agli sfortunati utilizzatori di questo browser, di scaricare [...]]]></description>
			<content:encoded><![CDATA[<p>Dopo averci combattuto per molti giorni, finalmente ho risolto un problema che affliggeva un&#8217;applicazione web sulla quale sto lavorando in azienda.</p>
<p>Il problema, che al solito si verificava solo su <strong>Internet Explorer</strong> (dalla versione 6 in avanti, almeno fino alla 8, non ho verificato la 9), impediva agli sfortunati utilizzatori di questo browser, di scaricare file pdf generati dall&#8217;applicazione web.</p>
<div class="center"><img title="internet explorer unable to download file over ssl :(" src="http://www.ilpestifero.net/wp-content/uploads/2011/07/internet_explorer_file_pdf_ssl_error.png" alt="internet explorer unable to download file over ssl :(" width="610" height="336" /></div>
<p>Internet Explorer, oltre a non rispettare correttamente tutti gli header http che l&#8217;applicazione web genera, ha infatti un <a href="Internet Explorer file downloads over SSL do not work with the cache control headers">bug che impedisce di scaricare file pdf se la connessione è protetta da SSL</a>, come riportato dalla stessa microsoft</p>
<blockquote><p>When you try to open a Microsoft Office document or a PDF file by typing an HTTPS URL for the document in the Address bar of Internet Explorer 6 Service Pack 1 (SP1), you may receive the following error message:<br />
Unable to download.<br />
Internet Explorer was unable to open this site. The requested site is either unavailable or cannot be found. Please try again later.</p></blockquote>
<div>Una volta individuato il problema, ho risolto utilizzando il <a href="http://stackoverflow.com/questions/1218925/php-script-to-download-file-not-working-in-ie/4465299#4465299">workaround proposto in questa discussione su stackoverflow</a>.</div>
<div>In pratica è necessario prima di inviare il file, rimuovere due header http nel seguente modo, così da settarli vuoti ed &#8220;ingannare&#8221; Internet Exploder.</div>
<pre>header("Pragma: ");
header("Cache-Control: ");</pre>
<p>Nel mio caso, essendo l&#8217;applicazione web sviluppata con <a href="http://www.symfony-project.org/">Symfony</a> 1.4, ho modificato il tutto nel seguente modo:</p>
<pre>$response-&gt;clearHttpHeaders();
$response-&gt;setContentType('application/force-download');
/**
* Empty pragma and cache-control to allow IEx to download file through ssl
* <a href="http://support.microsoft.com/kb/323308/en-us" rel="nofollow">http://support.microsoft.com/kb/323308/en-us</a>
**/
$response-&gt;setHttpHeader('Pragma','',true);
$response-&gt;setHttpHeader('Cache-Control','',true);
/*************************************************/
$response-&gt;setHttpHeader('Content-Disposition', 'attachement; filename='.$this-&gt;filename, true);
$response-&gt;setContent(file_get_contents($filename));
return sfView::NONE;</pre>
<p>Ossia per precauzione cancello tutti gli header http eventualmente settati nella risposta, quindi <a href="https://www.vbulletin.com/forum/showthread.php/70959-HTTP-Headers-to-force-file-to-download-rather-than-auto-open">setto il content-type ad application/force-download per evitare un altro comportamento non desiderato di ie</a>, procedo settando gli header pragma e cache-control vuoti, metto nel content della risposta il contenuto del file che voglio far scaricare e quindi disabilito la vista.</p>
<p>Ovviamente con tutti gli altri browser testati (Firefox 3 e superiori, Chrome 9+, Opera 10+) funzionava senza alcun problema anche in precedenza.</p>
<p>La morale è: per favore non utilizzate Internet Explorer, usate un browser rispettoso degli standard web, possibilmente aggiornato e per il quale non sia necessario per funzionare ricorrere sempre ad hack e workaround vari.<br />
Consiglio sempre, sia quando mi trovo nei peggiori bar di Caracas sia nelle applicazioni web che sviluppo e/o mantengo, il sito <a href="http://www.abetterbrowser.org/">abetterbrowser</a> in cui vengono consigliati alcuni browser alternativi e migliori.</p>]]></content:encoded>
			<wfw:commentRss>http://www.ilpestifero.net/2011/07/26/internet-explorer-e-un-bug-unico/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Per essere sempre più che aggiornati&#8230; Repository per #firefox e #thunderbird 5,6,7 e 8 http://is.gd/BT4J6E #ubuntu</title>
		<link>http://www.ilpestifero.net/2011/07/20/per-essere-sempre-piu-che-aggiornati-repository-per-firefox-e-thunderbird-567-e-8-httpis-gdbt4j6e-ubuntu/</link>
		<comments>http://www.ilpestifero.net/2011/07/20/per-essere-sempre-piu-che-aggiornati-repository-per-firefox-e-thunderbird-567-e-8-httpis-gdbt4j6e-ubuntu/#comments</comments>
		<pubDate>Wed, 20 Jul 2011 06:09:22 +0000</pubDate>
		<dc:creator>ilpestifero</dc:creator>
				<category><![CDATA[twitter]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[thunderbird]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.ilpestifero.net/2011/07/20/per-essere-sempre-piu-che-aggiornati-repository-per-firefox-e-thunderbird-567-e-8-httpis-gdbt4j6e-ubuntu/</guid>
		<description><![CDATA[Per essere sempre più che aggiornati&#8230; Repository per #firefox e #thunderbird 5,6,7 e 8 http://is.gd/BT4J6E #ubuntu]]></description>
			<content:encoded><![CDATA[<p>Per essere sempre più che aggiornati&#8230; Repository per <a href="http://search.twitter.com/search?q=%23firefox" rel="nofollow">#firefox</a> e <a href="http://search.twitter.com/search?q=%23thunderbird" rel="nofollow">#thunderbird</a> 5,6,7 e 8 <a href="http://is.gd/BT4J6E" rel="nofollow">http://is.gd/BT4J6E</a> <a href="http://search.twitter.com/search?q=%23ubuntu" rel="nofollow">#ubuntu</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.ilpestifero.net/2011/07/20/per-essere-sempre-piu-che-aggiornati-repository-per-firefox-e-thunderbird-567-e-8-httpis-gdbt4j6e-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

