Welcome, Guest
Username: Password: Remember me
Components and Libraries for Web Development, discussions, problems and suggestions
  • Page:
  • 1

TOPIC:

Bug in LWSCGI.pas 10 years 9 months ago #5117

  • Rain
  • Rain's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 71
  • Thank you received: 8
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;

Please Log in or Create an account to join the conversation.

Bug in LWSCGI.pas 10 years 9 months ago #5118

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Thanks Sir
we add your suggestion to CT lab version
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

  • Page:
  • 1