• last updated 7 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- address bug #3293: actual code in oacs-5-9 used full host header

(from request header fields) which might contain port.

db-query is now performed without the optional port

- improve Tcl coding (use defaults, break long lines)

- security::validated_host_header: Handle aliases for locations, which cannot be determined from config files, but which are supposed to be ok

- don't report urls in security::locations obtained form https drivers which loaded but not listening (identifiable via port number 0)

- unset coockies with the same "-secure" setting, which was used when creating it (differed for ad_session_id and ad_user_login).

- improve documentation

- improve behavior on invalid host headers and comment the purpose in more detail

  1. … 1 more file in changeset.
- allow empty port from provided host header

- add validation against invalid host header fields

  1. … 3 more files in changeset.
- make ::security::csrf::token public

- modularize CSRF handling

- add infrastructure support for CSRF protection

- set always token_id, when it is passed as ""

- prefer braces around sql statements

  1. … 3 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.
- no need to use backslash for continuation between curly brackets

- improve readability of code

- modernize tcl

  1. … 13 more files in changeset.
- reduce verbosity

- in case a secret is passed explicitly to ad_get_signed_cookie/ad_get_signed_cookie_with_expr, pass it further to signing functions (was missing, many thanks to Franz Penz for reporting)

- improve API documentation

- return default instead of "" in case a lookup fails or not configured

- use stored procedure sec_session_property__upsert

  1. … 2 more files in changeset.
- standardize url construction to protect against injection attacks

  1. … 5 more files in changeset.
Merging back to HEAD all changes that happened in branch oacs-5-8 between tags: vg-merge-oacs-5-8-from-20141027 and vg-merge-oacs-5-8-from-20150427

  1. … 520 more files in changeset.
- address bugs #3244 and #3245

  1. … 1 more file in changeset.
- handle case, where driver is loaded, but not started. Recent NaviServer uses for this case port == 0

Merging back to HEAD branch oacs-5-8 (using tag vg-merge-oacs-5-8-from-20141027).

  1. … 2547 more files in changeset.
- don't look for configuraton parameter "Hostname", but use "hostname" as used in the sample configfiles

- change spelling of TCL to Tcl

- change requirements to Tcl 8.5

  1. … 64 more files in changeset.
- only variables in a non-top namespace survive session cleanup. The logic of the old code assumed that global variables survive the request-cleanup. now, the cached values is kept in the ::acs::* namespace

- undo previous secure-cookie change since it interacts badly in situations where "RestrictLoginToSSLP" is "1" and https is available: In such cases, e.g. the login page is redirected from a http (insecure) url to an https (secure) page. But when later continuing on the http connection, the user appears to be not logged in, since a well-behaved browser does not send the "secure" login coockie over the insecure connection.

- white space changes: replace tabs by spaces