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

- return complaint in case of invalid lanuguage setup

- add validator for locale (useful, when headers or locale-cookie were hacked)

- strengthen page contracts for return_urls

- provide an error message for invalid locale values

- don't swallow sliently exceptions

- improve robustness against incorrect input

Fix indentation from previous commit

Fixed problem when exporting empty variables pointed by Gustaf:

when one exported something like {{var ""} ... this was seen as absence of value,

so $var was searched for one in the caller scope. Hardened check for presence of an explicit value.

- validate email

- reject requests where host contains invalid characters

- improve formatting

- hardening page contract

    • -4
    • +20
    /openacs-4/packages/search/www/search.tcl
- make daysInMonth more robust, when year contains leading zeros

- strengthen page contract

- don't log errors on abort script operations

- add simple validator for email addresses

- add simple validator for email addresses

- fix case, where deleted_p is not set

- dont'report user-input unquoted

improve demo example: www/doc/demo/form.tcl

- add second validator

- protect against runtime errors from duplicate user_ids

- fix typo in validator label

- harden page contracts

- 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

- use ad_return_complaint for the complaint message of the page contract

- remove moved files

    • -52
    • +0
    /openacs-4/packages/xowiki/www/oacs-view.adp
    • -79
    • +0
    /openacs-4/packages/xowiki/www/oacs-view2.adp
    • -83
    • +0
    /openacs-4/packages/xowiki/www/oacs-view3.adp
    • -81
    • +0
    /openacs-4/packages/xowiki/www/view-book.adp
    • -26
    • +0
    /openacs-4/packages/xowiki/www/view-book.tcl
    • -38
    • +0
    /openacs-4/packages/xowiki/www/view-default.adp
    • -29
    • +0
    /openacs-4/packages/xowiki/www/view-links.adp
    • -25
    • +0
    /openacs-4/packages/xowiki/www/view-page.adp
    • -15
    • +0
    /openacs-4/packages/xowiki/www/view-plain.adp
- reduce verbosity

    • -2
    • +2
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
- improve version comparison logic for PostgreSQL to deal with beta versions

- remove the dependency on acs-tcl, since this would be a cyclical dependency, causing installation to fail

- add dependency problems to error.log as well