I'm not quite sure what value should be accepted in the X-Interactive
header.  The initial implementation accept any value, ie

  X-Interactive: true
  X-Interactive: yes
  X-Interactive: false
  X-Interactive: no
  X-Interactive: foo

I suspect this is slightly confusing.  If we are going to limit the
values, should we only accept one value, or several (as it only
'true', or 'true', 'yes', '1').  I suggest we pick one of these, and
only accept that value.  My prefered value would be 'true', but 'yes'
would be fine too.

To implement that change, the lines reading

  if (script_inf.interactive && script_inf.interactive != empty)

need to be changed to 

  if (script_inf.interactive && 0 == strcmp(script_inf.interactive, "true"))

Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to