Issue Bug Closed

#14495CGI detection bug in t3_popup.html

Jochen Weiland 01/17/05, 01:01 updated 08/12/06, 14:26

Description

On some servers the popup (i.e. inserting a link) displays an error message about server misconfiguration. The server in this case is running PHP as CGI (Linux) and the phpapi string is “CGI”.

In line 40 of t3_popup.php the string checks for XCGI (which fails). Changing this to CGI or adding an ORed check for the string CGI fixes the problem.

Found in version 0.4.26
(issue imported from #M682)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.