File Release Notes and Changelog
Notes:
Changes:
- Bug fixed: the CGI variable path_translated is often empty. Applied patch [1812572] by Tom Donovan. Deprecated request.getPathTranslated() call replaced with the new approach.
- Bug fixed: when a SQL TIME or TIMESTAMP value is returned by a query, the time portion is lost. Applied patch "[1813220] wrong TIME and TIMESTAMP values from queries" by Tom Donovan.
- Bug fixed: smith fails to pass validation in some J2EE 1.5 AppServers due to three minor problems. 1) The welcome-file-list tag filenames in web.xml must not have a leading "/". 2) GuessEncoding.jar was omitted from .war file in build.xml. 3) The method used by findSmithJarPath() in engine/servlets/ApplicationServices.java does not return the correct path to the smith-xxx.jar file with some J2EE servers. Applied patch "[1817990] J2EE 1.5 AppServers" by Tom Donovan which fixes these three problems. Tested with: Sun Java System Application Server 9.1 - J2EE 1.5, GlassFish Project V2 Final Build b58g - J2EE 1.5, JBoss 4.2.1.GA - J2EE 1.4, Resin-3.1.3 - J2EE 1.4, Tomcat 6.0.14 - J2EE 1.4, existing stand-alone Jetty AppServer.
- Bug fixed: Smith uses java.sql.ResultSet.getColumnName(i) for query columns instead of ResultSet.getColumnLabel(i). Applied patch "[1827294] JDBC ColumnName vs. ColumnLabel" by Tom Donovan. Most databases return the same value for both, but strictly interpreted
- Name is supposed to be a physical column and Label is the correct name for the query result.
- Bug fixed: mail server name parsing fixed to support server names like "alpha:beta@smtp.nowhere.net@smtp.acme.com:25". Applied patch "[1835396] Mail server name parsing" by Tom Donovan. This patch makes Smith look for the *last* occurrence of "@" followed by ":" when parsing a mail server name into its components.
- Bug fixed: problem with cfhttp charset posted by diogomoura to forum. Applied patch "[1837695] cfhttp charset and timeout" by Tom Donovan. The patch corrects three problems with cfhttp: 1) the response charset is used to convert the response to a String (unless it is a binary response); 2) timeout is set correctly; 3) application/octet-stream is a binary content-type, not a text content-type.
- Bug fixed: cffile action read doesn't throw an exception if specified file does not exist (fixed FileTagImpl.read() method).
- Bug fixed: Ant task used to create smith.war omitted GuessEncoding.jar
- Bug fixed: When deployed on Sun's Java Application Server, couldn't find path to smith jar (applied patch by Ron to getting the resource path in ApplicationServices.findSmithJarPath()).
- Added ErrorCode variable to cfcatch structure in TryCatchTagImpl class.
- Added sort option by NAME in the implemntation of the tag cfdirectory.
- Added Server.ColdFusion.StartupTimestamp variable holding the timestamp (date object) when Smith was started. For compatibility with undocumented ColdFusion feature of non-trial versions, the same value is available in Server.ColdFusion.Expiration.