Bug#463026: error in saved files extension

Federico Muciaccia federico1988fm at libero.it
Mon Jan 28 23:52:21 UTC 2008


Package: epiphany-browser
Version: 2.20.3-1
Severity: normal

--- Please enter the report below this line. ---
Way to reproduce the bug:
- Go to http://www.archlinux.it/wiki/index.php?title=Official_Arch_Linux_Install_Guide_%28Italiano%29
- Save the web page
- Click on the index.php file
--- ---
I get this warning (in Italian):
"Impossibile aprire «index.php»
Il nome del file «index.php» indica che si tratta di un file di tipo 
«Script PHP», ma il suo contenuto indica che è del tipo 
«Documento HTML». L'apertura di questo file potrebbe 
rappresentare un rischio per la sicurezza del sistema in uso.

È consigliabile non aprire il file se non lo si è personalmente 
creato o non è stato ricevuto da una sorgente fidata. Per 
poter aprire il file normalmente, rinominarlo con la corretta 
estensione per il tipo «Documento HTML». Alternativamente 
usare il menù «Apri con» per scegliere una specifica applicazione per il file."

It says that the file has a Script PHP extension but his contenent is Document HTML, 
so it is not safe to open.
Renaming the file in index.php.html (as firefox and other browser save it) 
you can open the file regurally.

Why don't let .php.html be the default extension for this type of files?

I am using Debian GNU/Linux unstable (sid), Kernel 2.6.22-3-686, GNOME
2.20.3
--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.22-3-686

Debian Release: lenny/sid
  500 unstable        ftp.it.debian.org 
  500 testing         security.debian.org 

--- Package information. ---
Depends              (Version) | Installed
==============================-+-===========
epiphany-gecko                 | 2.20.3-1
 OR epiphany-webkit            | 








More information about the pkg-gnome-maintainers mailing list