• last updated 16 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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

URL-encode folder path (util_current_directory) if used for an HTTP redirect (ad_returnredirect).

fix signature comparison for apm_callback_has_valid_args when nsf procs are used

Improve robustness of file operations against names starting with a "-"

  1. … 6 more files in changeset.
Improve robustness of "file delete" operations

  1. … 18 more files in changeset.
- new function to address problem in issue #3312: ad_urlencode_url.

This function can be passed a url with or without a location and makes

sure, that the folder_path is encoded correctly.

- use ad_urlencode_url as well in export_vars

New function ad_urlencode_folder_path to perform an urlencode operation on the segments of the provided folder path