Xarigami

project tracker

Xarigami Core [key: xgami]

All trackers
Summary
Issue List
Road Map
Changelog

Issue xgami-000405

Issue summary Details
Project:
Xarigami Core
Key:
xgami-000405
Type:
Bug
Reporter:
Lakys
Priority:
Normal
Severity:
Minor
Status:
Closed
Resolution:
Fixed
Owner:
Lakys
Due:
+ xarigami cumulus 1.2.0
Milestone:
None

Serveur RequestURI error IIS/CGI

Reported:  Jun 13, 2009 12:50 AM    Updated: Jun 13, 2009 01:15 AM by Lakys

Closed: Jun 13, 2009 01:15 AM    by Lakys

Version affected: + xarigami cumulus 1.2.0

Checking out the xgami-000404 redirection syndrome with CGI (instead of FastCGI), I detected another bug possibly linked to my MLS additions.
Even if CGI/IIS is probably not as good as FastCGI with IIS, it should work properly.

Error is:
At: ...\includes\xarServer.php (Line: 262) Undefined index: REQUEST_URI
Actions
Resolved: Serveur RequestURI error IIS/CGI Lakys Jun 13, 2009 01:12 AM

Apparantly I caught a bug in xarServerGetProtocol(). In the case the secure server mode was set, it was attempting to use the server var REQUEST_URI, which obviously is not existing within CGI/IIS and would certainly not return any "http://" anyway.
Used then a SERVER_PROTOCOL var instead, which makes a little bit more sense here imho.

#

Closed: Serveur RequestURI error IIS/CGI Lakys Jun 13, 2009 01:15 AM

Committed in revision e9aeb58b72bf442ade80bb114dab103aa84938b8

#