double-extensions in apache?

Startseite
Anhänge:
Nachricht
+ (text/plain)
Nachricht löschen
Nachricht beantworten
Autor: der.hans
Datum:  
To: quatsch
Betreff: double-extensions in apache?
moin moin,

"When web servers such as Apache decide how to process a URL request, they
use the file extension. If the extension is not recognized, Apache skips
that extension and uses the previous file extension. For example, if the
file being requested is exploit.php.pps, and Apache does not recognize the
'.pps' extension, it treats the file as PHP and executes it."

http://api.drupal.org/api/drupal/includes--file.inc/function/file_munge_filename/6

That absolutely doesn't make sense to me. It seems foolish to reinterpret
what the content-type is.

Apache ( and other web-servers ) shouldn't be making wild guesses about
content-types.

http://www.ruby-forum.com/topic/185709

ciao,

der.hans
-- 
#  http://www.LuftHans.com/        http://www.LuftHans.com/Classes/
#  ABLEconf - 2011Apr02 - Free Software for Free Enterprise
#  Magic is science unexplained. - der.hans
---------------------------------------------------
PLUG-discuss mailing list - 
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss