- Posts: 61
- Thank you received: 7
- Forum
- CodeTyphon Studio
- CodeTyphon Studio Components and Libraries
- Web Development
- Bug in LWSCGI.pas
×
Components and Libraries for Web Development, discussions, problems and suggestions
Important Bug in LWSCGI.pas
- Rain
- Topic Author
- Offline
- Junior Member
-
Less
More
8 years 4 months ago #5117
by Rain
Bug in LWSCGI.pas was created by Rain
c:\codetyphon\typhon\components\pl_LazWebSolutions\source\LWSCGI.pas
Line 294:
replace this:
//for I := 1 to LWS_CGI_ENV_COUNT do
with this:
for I := 0 to GetEnvironmentVariableCount -1 do
otherwise quite a few Environment variables will be missed, which even can lead to the Error
"ERROR: No REQUEST_METHOD passed from server." ,
if REQUEST_METHOD variable is not read out due to the questionable limit of LWS_CGI_ENV_COUNT = 36;
Line 294:
replace this:
//for I := 1 to LWS_CGI_ENV_COUNT do
with this:
for I := 0 to GetEnvironmentVariableCount -1 do
otherwise quite a few Environment variables will be missed, which even can lead to the Error
"ERROR: No REQUEST_METHOD passed from server." ,
if REQUEST_METHOD variable is not read out due to the questionable limit of LWS_CGI_ENV_COUNT = 36;
Please Log in or Create an account to join the conversation.
- Sternas Stefanos
-
- Offline
- Moderator
-
- Ex Pilot, M.Sc, Ph.D
8 years 4 months ago #5118
by Sternas Stefanos
PilotLogic Architect and Core Programmer
Replied by Sternas Stefanos on topic Bug in LWSCGI.pas
Thanks Sir
we add your suggestion to CT lab version
we add your suggestion to CT lab version
PilotLogic Architect and Core Programmer
Please Log in or Create an account to join the conversation.