• last updated 1 hour ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- use shortcut for "select" in db_exec_plsql to bypass anonymous function creation

Fix code in cases, were object_type is not provided

Improve translation of ad-return-complaint message. Add missing translation

    • -2
    • +3
    ./catalog/acs-tcl.it_IT.ISO-8859-1.xml
- Remove duplicate processing of tags (was duplicated since 16 (!!) years, many thanks to Franz Penz for noticing)

- remove unneeded variable

allow host header fields with trailing dots (as these are allowed from DNS)

Correct square braces

Bump version number to make dependency on kernel changes (i18n) explicit

Add as well API functions [membership_rel::get] and

[membership_rel::get_group_id] analogous to [membership_rel::get_user_id]

Add new API call membership_rel::get_user_id to avoid code duplication

Make encoding the url part the default behavior. Add extra exception for the trivial case of dummy url '#'.

Make url part encoding in export_vars optional by the -base_encode flag to avoid regressions in existing code (e.g. urls containing anchors)

Add ability to include actual user in the access log (see as well updated sample OpenACS config file in the NaviServer repository)

Remove over-eager safety check

Prefer variable over proc to access the kernel id

    • -10
    • +18
    ./tcl/request-processor-procs.tcl
Modernize Tcl code

reflow overlong lines

add query parameters on redirect to cononical site

Standardize spelling of names of products (Tcl, AOLserver, PostgreSQL, NaviServer)

  1. … 29 more files in changeset.
Fix editing bug

Fix spelling errors

    • -4
    • +4
    ./tcl/test/application-data-link-procs.tcl
fix dirty editor buffer leftover

Fix spelling errors

  1. … 8 more files in changeset.
- Tcl idioms: simplify access to first character

  1. … 8 more files in changeset.
- Tcl idioms: simplify access to last character

  1. … 2 more files in changeset.
Place upgrade from insecure request after the optional canonical check

    • -13
    • +19
    ./tcl/request-processor-procs.tcl
- new feature for future releases: UseCanonicalLocation

to force requests submitted to a alternate DNS entry to be

redirected to a canonical name. For more background, see:

https://support.google.com/webmasters/answer/139066?hl=en

https://webmasters.stackexchange.com/questions/44830/should-i-redirect-the-site-ip-address-to-the-domain-name

- use ns_returnmoved (301) instead of ns_returnredirect (302)

for unwanted requests

- fix name/address check: one should not check for the hostname (or

its IP address), but the for DNS name of the configured driver and

its IP addresses. If a host has multiple IP addresses, there might

not be a nsd driver configured on the hostname of the machine.

- make documentation more precise

- provide cross references to similar commands

fix typo

Cover case when -base flag in export_vars contains query variables and no vars are exported. By hand this is silly, but could happen in the context of dynamic url generation when vars to export are not known in advance.

The dict returned from ns_parseurl does not always contain a "port" component