request-processor-procs.tcl

  • last updated 7 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- use filter_return to terminate filter on errors

- return complaint in case of invalid lanuguage setup

- don't swallow sliently exceptions

- reject requests where host contains invalid characters

- split ad_log into two parts; util::request_info returns now the request information as a string, can be used in web-interface as well

  1. … 1 more file in changeset.
- use consistently "clock clicks -microseconds"

- bump version number to 5.9.1d8

  1. … 1 more file in changeset.
- check for invalid UTF-8 characters in url (would lead to errors at

least in postgres).

- bump version number to 5.9.1d5

  1. … 1 more file in changeset.
- fix regular expressions for pretty-times

- increasing max url size from 100 to 132 as needed on openacs.org (should be probably a package parameter)

- don't swallow error message in case site_node::get fails

- provide better message, when URL is doomed to fail

- don't try to show broken richtext editor on mobile devices

(it is better to show plain textarea than a display where nothing can be entered)

  1. … 5 more files in changeset.
.xql-file reform of acs-tcl (part 1)

- remove sql statements from the code, where these are provided via .xql

- prefer empty sql statements over various forms of *SQL*

  1. … 7 more files in changeset.
- add PUT and DELETE to accepted HTTP methods (see http://openacs.org/forums/message-view?message_id=4867987)

- don't write error messages to the error.log, when acs-subsite/www/resources are accessed via the resource filter

- new function: "ad_log" (same interface like "ns_log") to output

calling context to log file (calling URL and callstack)

  1. … 2 more files in changeset.
- prefer ns_quotehtml over ad_quotehtml

  1. … 36 more files in changeset.
- remove .html from link to documentation

- fix indentation

  1. … 1 more file in changeset.
- remove globals for errorInfo/errorCode and use namespace qualifiers instead

  1. … 12 more files in changeset.
- fix validity of HTML

  1. … 7 more files in changeset.
- improve validity and security of HTML of admin pages

  1. … 1 more file in changeset.
- protect against potential xss attack

  1. … 1 more file in changeset.
- add kernel parameter to support conveniant setting of expiration dates for /resources/*. See as well http://openacs.org/forums/message-view?message_id=4231862

  1. … 1 more file in changeset.
Merging back to HEAD branch oacs-5-8 (using tag vg-merge-oacs-5-8-from-20141027).

    • -584
    • +709
    ./request-processor-procs.tcl
  1. … 2547 more files in changeset.
- fix indentation

- mark doc_* interface a deprecated

  1. … 2 more files in changeset.
- change spelling of TCL to Tcl

- change requirements to Tcl 8.5

  1. … 64 more files in changeset.
- use expand operator rather than eval to reduce likelyhood of

unwanted interference and to improve security

  1. … 9 more files in changeset.
- initialize untrusted_user_id in resources filter