From: mh Date: Tue, 26 Nov 2002 01:51:10 +0000 (+0000) Subject: get rid of long standing bug which caused links (href's) with ampersands (&) in them... X-Git-Tag: MIR_1_0_0_RC1~18 X-Git-Url: http://erislabs.net/gitweb/?p=mir.git;a=commitdiff_plain;h=f5f0aef76ed8b567fb268fb655217e3e204a5f4d get rid of long standing bug which caused links (href's) with ampersands (&) in them to be fudged in the article description. we don't need to decodeHTMLinTags as we no longer encodeHTML --- diff --git a/source/mircoders/entity/EntityContent.java b/source/mircoders/entity/EntityContent.java index bbf142cd..696c7fdd 100755 --- a/source/mircoders/entity/EntityContent.java +++ b/source/mircoders/entity/EntityContent.java @@ -50,34 +50,9 @@ import mircoders.storage.*; * this class implements mapping of one line of the database table content * to a java object * - * @version $Revision: 1.9.2.2 $ $Date: 2002/11/01 05:38:20 $ - * @author $Author: mh $ + * @version $Id: EntityContent.java,v 1.9.2.3 2002/11/26 01:51:10 mh Exp $ + * @author rk, mir-coders group * - * $Log: EntityContent.java,v $ - * Revision 1.9.2.2 2002/11/01 05:38:20 mh - * Converted media Interface to use streams (Java IO) instead of byte buffers of - * the entire uplaoded files. These saves loads of unecessary memory use. JAI - * still consumes quite a bit though. - * - * A new temporary file (for JAI) parameter is necessary and is in the config.properties file. - * - * A nice side effect of this work is the FileHandler interface which is - * basically a call back mechanism for WebdbMultipartRequest which allows the - * uploaded file to handled by different classes. For example, for a media - * upload, the content-type, etc.. needs to be determined, but if say the - * FileEditor had a feature to upload static files... another handler wood be - * needed. Right now only the MediaRequest handler exists. - * - * Revision 1.9.2.1 2002/09/01 21:31:43 mh - * Mir goes GPL - * - * Revision 1.9 2002/07/19 20:55:49 mh - * commented out decodeHTML, as we don't encodeHTML anymore - * - * Revision 1.8 2002/06/28 20:37:33 mh - * make date_formatted be webdb_create_short instead to be more consistent. also make date2webdb.. use webdb_create - * - * */ @@ -333,9 +308,6 @@ public class EntityContent extends Entity mirconf_mailLinkName,mirconf_extLinkName, mirconf_intLinkName); } - // commented this out as I don't think it necessary as we don't - // "encodeHTML" in the first place anymore.. -mh 2002.07.19 - //returnField = StringUtil.decodeHTMLinTags(returnField); } return returnField; } @@ -361,7 +333,6 @@ public class EntityContent extends Entity mirconf_mailLinkName,mirconf_extLinkName, mirconf_intLinkName); } - returnField = StringUtil.decodeHTMLinTags(returnField); } return returnField; }