Im Grund läuft alles wunderbar (seit Monaten) bis auf eine Kleinigkeit: Sobald ich eine URL eintippe, die Sonderzeichen enthält, passieren merkwürdige Dinge. Also z.B.:
- Code: Select all
index.php -- geht
ind(x.php -- geht
ind'x.php -- geht auch
indéx.php -- geht nicht!!
indäx.php -- geht auch nicht!!
Interessant ist auch, dass IE und Mozilla anders reagieren. Mozilla meint:
Forbidden
You don't have permission to access /indéx2.php on this server.
Apache/2.0.52 (Win32) PHP/4.3.9 Server at localhost Port 80
der IE hingegen:
Warning: Unknown(D:\web\indéx1.php): failed to open stream: No such file or directory in Unknown on line 0
Warning: (null)(): Failed opening 'D:\web\indéx1.php' for inclusion (include_path='.;c:\php4\pear') in Unknown on line 0
beim Mozilla wird die URL so umgewandelt: http://localhost/ind%E9x.php
beim IE bleibt sie so stehen.
und noch ein paar Anomalien:
wenn ich im Mozilla eigebe http://localhost/ind%E9xqwerz.php (diese Datei existiert nicht!) - kommt trotzdem ein forbidden (also einfach nur durch den Zeichencode %E9). Wenn ich das selbe im IE mache, kommt ein 404/Seite nicht gefunden...
während indéx.php im Internet-Explorer nicht geht, tut es indéx.html...
im Mozilla geht beides nicht...
Ich bin mal gespannt, ob jemand ne Idee hat.