Projects ⇒ Bugs ⇒ #422: Can't install using HTTPS protocol ⇒ CPG Dragonfly™ CMS
Bug #422 Can't install using HTTPS protocol
Project: Dragonfly 9.0.3 -> 9.3 Category: *CPG Core Issues
Submitted: Monday, April 11, 2005 (22:05:24) Modified: Friday, April 15, 2005 (20:52:39)
Status: Closed Assigned to:
PHP Version: 4.3.10 HTTPD Server: Apache 2.0

View/Vote Add Comment

by: Brennor
Description:
------------
The install fails with no message if an install is attempted using HTTPS instead of HTTP protocol.

The reason is this block of code at line 118 of install.php:

if (strlen($_SERVER['HTTP_REFERER']) > 0) {
if (!ereg("(http://$_SERVER[HTTP_HOST])", $_SERVER['HTTP_REFERER'])) {
echo 'You are so cool!';
footer();
exit;
}
}


The ereg assumes http:// (line 119).
Should either add an or statement to allow for https as well, or put a comment in the INSTALL documentation that installing on secure servers is not supported.
by: Trevor
This bug has been fixed in the CVS.

Snapshots of the sources are packaged every 6 hours; this change
will be in the next snapshot. You can grab the snapshot at the
Downloads section.

Thank you for the report, and for helping us to make CPG-Nuke 9.0.3 -> 9.1 better.
User Info

Welcome Anonymous



(Register)
Community

Support for DragonflyCMS in a other languages:

Deutsch
Español