Skip Menu |

This queue is for tickets about the CGI-SSI CPAN distribution.

Report information
The Basics
Id: 14586
Status: resolved
Worked: 10 min
Priority: 0/
Queue: CGI-SSI

People
Owner: Nobody in particular
Requestors: lee.goddard [...] easa.eu.int
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.87
Fixed in: (no value)



Subject: Include default to http scheme doesn't work with https (suggestion)
Hi again. You have two lines which read: $uri->scheme($uri->scheme || 'http'); # ?? This allows it to work with https provided the SSL module sets the environment as Apache mod_ssl does if asked to. Presumably, being a CGI::* module, you can expect the server to be configured for CGI. $uri->scheme($uri->scheme || 'http'.($ENV{HTTPS}?"s":"")); The only other environment variable I know which holds relevant info would be SCRIPT_URI. I do not know if that is set for .shtml/Options +Includes....
[LGODDARD - Wed Sep 14 09:36:51 2005]: Show quoted text
> Hi again.
Hi! Show quoted text
> $uri->scheme($uri->scheme || 'http'.($ENV{HTTPS}?"s":""));
I've added this. The latest version (0.88) is attached. Best, James
Download CGI-SSI-0.88.tar.gz
application/x-gzip 10.9k

Message body not shown because it is not plain text.