This page is part of the BugReports series. Please go there to submit a new bug or to see the list of all existing reports.


not using EWIKI_SERVER everywhere

ewiki version R1.02a
operating system Unix
database backend anydb: pgsql
php version 4.3.x
bug category general
status frozen

jbw: Ewiki sets up EWIKI_SERVER based on HTTP_HOST or SERVER_NAME.

I presume to get around some buggy cgi implimentations, like I just hit.

In line 965 it still uses SERVER_NAME though, instead of the EWIKI_SERVER.

So it breaks on servers SERVER_NAME is broken.

Guess it should be changed at link 965 to use EWIKI_SERVER and even save a ew bytes?


mario: I've got a minor issue with the fix on one of my sites. In CVS, but still on todo.

bottom corner