Project

General

Profile

Actions

Bug #14495

closed

CGI detection bug in t3_popup.html

Added by Jochen Weiland almost 20 years ago. Updated over 18 years ago.

Status:
Closed
Priority:
Should have
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2005-01-17
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)

Actions #1

Updated by Stanislas Rolland almost 20 years ago

Thanks for the correction.

Corrected in version 0.4.27

I don't know why, but the correction failed to work when inserted in rtehtmlarea/htmlarea/plugins/SpellChecker/spell-check-logic.php

So maybe a problem remains on the spellcheck popup?

Actions #2

Updated by Jochen Weiland almost 20 years ago

The bug was also in the insert image plugin. The spell-check plugin also uses the same code, but I didn't test it there to see whether the change fixes it. I can do this in the next few days.

Jochen

Actions #3

Updated by Stanislas Rolland almost 20 years ago

I already corrected the problem in Insert image. Tried to do it for the spell checker, but got an error (t3lib_div not found on the server).

Actions #4

Updated by Stanislas Rolland almost 20 years ago

This is fixed in version 0.4.33, including for the spell checker.

Actions

Also available in: Atom PDF