« Project home page

phpSQLiteCMS Bugtracker

Powered by Mantis Bugtracker

einfache Eintragsansicht Zu Notizen wechseln ] << ] >> ] erweiterte Anzeige ] Eintrags-Historie ] Drucken ]
ID Kategorie Auswirkung Reproduzierbar Meldungsdatum Letzte Aktualisierung
0000008 [phpSQLiteCMS] Backend schwerer Fehler immer 2009-08-04 17:31 2009-08-04 17:31
Reporter Anonymous Anzeigestatus öffentlich  
Bearbeitung durch
Priorität normal Lösung offen  
Status neu   Produktversion 2.0 alpha 4
Zusammenfassung 0000008: Extra (back)slashes inserted in generated URLs when installed in server root
Beschreibung When installed in the server root and base_url is unset, extra slashes are inserted into generated urls. On Windows backslashes are inserted instead, breaking links, stylesheet loading etc.

The problem seems to occur because PHP's dirname() function returns '/' ('\' on Windows) when passed a file path in the server root, e.g, dirname('/test.php').
Zusätzliche Information Tested with PHP 5.2.9 on Apache 2.2.11 on Windows XP SP3.
 
Internet Explorer 7 automatically corrects backslashes in URLs to forward slashes, masking the problem (although backslashes are still visible in the page source). Other browsers are less forgiving.
 
Can be avoided by setting an appropriate value for base_url in the Advanced settings.
Tags Keine Tags zugeordnet.
Angehängte Dateien

- Eintrags-Beziehungen

Zu diesem Eintrag gibt es keine Notizen.

- Eintrags-Historie
Änderungsdatum Benutzername Feld Änderung
2009-08-04 17:31 Anonymous Neuer Eintrag