php IHDR w Q )Ba pHYs sRGB gAMA a IDATxMk\U s&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨ G;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j- $_q?qS XzG'ay
files >> /usr/libexec/webmin/jabber/ |
files >> //usr/libexec/webmin/jabber/save_file.cgi |
#!/usr/bin/perl # save_file.cgi # Save the jabber config file, with verification require './jabber-lib.pl'; &ReadParseMime(); &error_setup($text{'file_err'}); # Write to a temp file and check it $temp = &transname(); $in{'file'} =~ s/\r//g; open(TEMP, ">$temp"); print TEMP $in{'file'}; close(TEMP); local $xml = new XML::Parser('Style' => 'Tree'); eval { $xml->parsefile($temp); }; unlink($temp); if ($@) { $err = $@; $err =~ s/\s+at\s+(\S+)\s+line\s+(\d+)$//; &error($err); } # Write to the real file &open_tempfile(FILE, ">$config{'jabber_config'}"); &print_tempfile(FILE, $in{'file'}); &close_tempfile(FILE); &redirect("");y~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`