Index: openacs-4/packages/acs-content-repository/tcl/revision-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/tcl/revision-procs.tcl,v diff -u -r1.32.2.4 -r1.32.2.5 --- openacs-4/packages/acs-content-repository/tcl/revision-procs.tcl 6 Dec 2016 11:13:31 -0000 1.32.2.4 +++ openacs-4/packages/acs-content-repository/tcl/revision-procs.tcl 21 Apr 2017 14:53:08 -0000 1.32.2.5 @@ -71,7 +71,7 @@ set filename [db_string write_file_content ""] if {$filename eq ""} { error "No content for the revision $revision_id.\ - This seems to be an error which occured during the upload of the file" + This seems to be an error which occurred during the upload of the file" } elseif {![file readable $filename]} { ns_log Error "Could not read file $filename. Maybe the content repository is (partially) missing?" ns_return 404 text/plain {} @@ -363,7 +363,7 @@ {-filename ""} {-file ""} } { - Check wether the mimetype is registered. If not, check wether it + Check whether the mimetype is registered. If not, check whether it can be guessed from the filename. If guessed mimetype is not registered optionally insert it.