~ubuntu-dev/ubuntu/lucid/zabbix/lucid-201002110857

« back to all changes in this revision

Viewing changes to frontends/php/include/classes/cfile.inc.php

  • Committer: Bazaar Package Importer
  • Author(s): Michael Ablassmeier
  • Date: 2007-07-02 09:06:51 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070702090651-8l6fl3fjw9rh6l2u
Tags: 1:1.4.1-2
Add patch from SVN in order to fix Incorrect processing of character '%'
in user parameters and remote commands.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
                        $this->SetName($name);
31
31
                        $this->SetFile($value);
32
32
                }
33
 
                function SetName($value='textarea')
34
 
                {
35
 
                        if(!is_string($value))
36
 
                        {
37
 
                                return $this->error("Incorrect value for SetName [$value]");
38
 
                        }
39
 
                        return $this->AddOption("name",$value);
40
 
                }
41
33
                function SetFile($value="")
42
34
                {
43
35
                        if(!is_string($value))