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 1 month ago #5117

  • Rain
  • Rain's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 69
  • 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 1 month ago #5118

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4506
  • Thank you received: 1100
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