Ticket #531 (closed defect: fixed)

Opened 3 years ago

Last modified 6 months ago

GetEnv on empty env strings

Reported by: killian.de.volder@… Owned by: jan
Priority: low Milestone:
Component: mod_cgi Version: 1.4.10
Severity: normal Keywords: cgi get query_string cleanup
Cc: Blocked By:
Need User Feedback: no Blocking:

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)

Attachments

Change History

Changed 2 years ago by moo

  • keywords cleanup added

can u test if [1100] fixed your problem?

Changed 2 years ago by Terminar

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.

Changed 15 months ago by anonymous

I'm having this same problem on 1.4.15.

Changed 15 months ago by anonymous

me2

Changed 6 months ago by stbuehler

  • status changed from new to closed
  • resolution set to fixed
  • pending unset

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

Add/Change #531 (GetEnv on empty env strings)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.