Project

General

Profile

Actions

Bug #531

closed

GetEnv on empty env strings

Added by Anonymous about 19 years ago. Updated about 17 years ago.

Status:
Fixed
Priority:
Low
Category:
mod_cgi
Target version:
-
ASK QUESTIONS IN Forums:

Description

With version 1.4.10 in a senario where QUERY_STRING should be empty (there is no ? after the url) i.e. "http://www.lighttpd.net/".
If in that senario someone does getenv("QUERY_STRING") it will return ".".
I'm not sure if it's due lightppd or a general system update... but i think the changes are bigger that it's lighttpd :)

A temperary workaround can be if (QUERY_STRING=".") QUERY_STRING=""; (that's what I use now for a temp fix)

-- killian.de.volder

Actions #1

Updated by moo almost 19 years ago

can u test if r1100 fixed your problem?

Actions #2

Updated by Terminar almost 19 years ago

This seems to fix another problem i had, vqadmin (www.inter7.com/vqadmin) didn't work because of a missing query thing. with that patch to 1.4.11 it is working again.

Actions #3

Updated by Anonymous almost 18 years ago

I'm having this same problem on 1.4.15.

Actions #4

Updated by Anonymous almost 18 years ago

me2

Actions #5

Updated by stbuehler about 17 years ago

  • Status changed from New to Fixed
  • Resolution set to fixed

Works for me in current version 1.4.18+, so this got fixed.

Actions

Also available in: Atom