mhonarc-commits
[Top] [All Lists]

CVS: mhonarc/MHonArc/lib mhopt.pl,2.50,2.51 mhtxttsv.pl,2.4,2.5 mhtxtsetext...

2003-01-18 18:36:06
Update of /cvsroot/mhonarc/mhonarc/MHonArc/lib
In directory subversions:/tmp/cvs-serv11882

Modified Files:
	mhopt.pl mhtxttsv.pl 
Removed Files:
	mhtxtsetext.pl 
Log Message:
* Sanitize field data in text/tab-separated-values filter.
* Removed text/setext filter: Media-type appears to be part of history.


Index: mhopt.pl
===================================================================
RCS file: /cvsroot/mhonarc/mhonarc/MHonArc/lib/mhopt.pl,v
retrieving revision 2.50
retrieving revision 2.51
diff -C2 -r2.50 -r2.51
*** mhopt.pl	10 Jan 2003 03:35:40 -0000	2.50
--- mhopt.pl	19 Jan 2003 01:35:59 -0000	2.51
***************
*** 869,876 ****
  	    "text/plain",			"m2h_text_plain::filter",
  	    "text/richtext",    		"m2h_text_enriched::filter",
- 	    "text/setext",			"m2h_text_setext::filter",
  	    "text/tab-separated-values",	"m2h_text_tsv::filter",
  	    "text/x-html",			"m2h_text_html::filter",
- 	    "text/x-setext",    		"m2h_text_setext::filter",
  
  	    "application/*",			"m2h_external::filter",
--- 869,874 ----
***************
*** 898,905 ****
  	    "text/plain",			"mhtxtplain.pl",
  	    "text/richtext",    		"mhtxtenrich.pl",
- 	    "text/setext",			"mhtxtsetext.pl",
  	    "text/tab-separated-values",	"mhtxttsv.pl",
  	    "text/x-html",			"mhtxthtml.pl",
- 	    "text/x-setext",    		"mhtxtsetext.pl",
  
  	    "application/*",			"mhexternal.pl",
--- 896,901 ----

Index: mhtxttsv.pl
===================================================================
RCS file: /cvsroot/mhonarc/mhonarc/MHonArc/lib/mhtxttsv.pl,v
retrieving revision 2.4
retrieving revision 2.5
diff -C2 -r2.4 -r2.5
*** mhtxttsv.pl	25 Aug 2001 20:01:01 -0000	2.4
--- mhtxttsv.pl	19 Jan 2003 01:35:59 -0000	2.5
***************
*** 47,51 ****
  	$ret .= "<tr>";
  	foreach $field (split(/\t/, $line)) {
! 	    $ret .= "<td>$field</td>";
  	}
  	$ret .= "</tr>\n";
--- 47,51 ----
  	$ret .= "<tr>";
  	foreach $field (split(/\t/, $line)) {
! 	    $ret .= '<td>' . mhonarc::htmlize($field) . '</td>';
  	}
  	$ret .= "</tr>\n";

--- mhtxtsetext.pl DELETED ---

---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHONARC-DEV