[freeside-devel] freeside 1.4.1 part_export edit fix

ivan ivan at 420.am
Mon Jan 3 20:19:00 PST 2005


Please send patches against the _source code_, and include the path of
the file (there are three "part_export.cgi" files).  As far as I can
tell, this was fixed over a year ago (see "fix html quoting problems" at
http://www.sisd.com/cgi-bin/viewcvs.cgi/freeside/httemplate/edit/part_export.cgi)

-- 
_ivan


On Mon, Jan 03, 2005 at 09:08:48PM -0700, Scott wrote:
> $value wasn't encoded, and my www browser had a fit or two with some exports I 
> have setup.  The one line in question had an appending redirect to a text 
> file.  Eg, ls foo >> foo.txt.
> 
> Enjoy,
> 
> 
> Scott Edwards
> Daxal Communications.
> http://www.daxal.com/

> --- part_export.cgi.old	Mon Jan  3 20:34:08 2005
> +++ part_export.cgi	Mon Jan  3 20:33:57 2005
> @@ -55,6 +55,7 @@
>  %                      ? $optinfo->{default}
>  %                      : ''
>  %                    );
> +%      $value = encode_entites($value) if (defined($value));
>  %      $html .= qq!<TR><TD ALIGN="right">$label</TD><TD>!;
>  %      if ( $type eq 'select' ) {
>  %        $html .= qq!<SELECT NAME="$option">!;


-- 
_ivan



More information about the freeside-devel mailing list