• last updated 21 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- show debug data as well for forms

- only get data via [ns_conn content] when it is text/*

- include information about current object and the current class in debug output if available

- adding nonce values to script tags

  1. … 11 more files in changeset.
- move deprecated proc lmap (since this conflicts with the built-in function of tcl 8.6) to acs-outdated

- use dicts for default ports

  1. … 1 more file in changeset.
- add missing expand operator

- fix bug for host-node-mapped subsites: on the (subsite) admin-page

of a host-node-mapped subsites, the link to site-wide-admin should

always point to the main site.

- add new helper function util::configured_location to address the bug

above to return the configured location as configured for the

current network driver. While [util_current_location] honors the

virtual host information of the host header field,

util::configured_location returns the main configured location

(probably the main subsite).

- extend [util_driver_info]

* make the passed-in array name optional and to return always a dict

* include the configured host name in the result (dict/array)

- add cross references via @see to make it easier to switch between

related functions

- bump version number of acs-tcl to 5.9.1d10 and acs-subsite to

5.9.1d7 to address dependencies

  1. … 6 more files in changeset.
- added new function "util::join_location" as counterpart of

"util::split_location" to use IP-literal notation when necessary

(IPv6). The function can be used in connection with

"util::split_location" to substitute hostnames/ports etc. in full

urls instead of insecure regsub operations.

- function "util::external_url_p":

* don't use "string match" for comparing locations, since this

will fail with IP-literal notation

* no need to compare with encoded name (if needed, on should provide

an option).

- proc get_referrer: add optional flag "-relative" to return the referrer without protocol and host

+CVS: ----------------------------------------------------------------------

- add validation against invalid host header fields

  1. … 3 more files in changeset.
- improve formatting

- 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.
- write content only for POST data

- fix stupid cut&paste bug

- improve error handling of closed connections

- output more detail for errors

- comment on "export_vars" function

- prefer "localurl" over "return_url" as name of page_filter

  1. … 1 more file in changeset.
- improve performance of util::external_url_p

- add user_id to context information

- fix one more occurance...

- trying to reduce ad_urlencode_query patch to minimal change

After fixing previous commit, use ad_urlencode_path and ad_urlencode_query instead of ns_urlencode in export_vars and export_entire_form_as_url_vars.

This way URL is encoded properly and we avoid a bug when variables called "--" or with value "--" are exported.

Reverting and fixing previous commit, which erroneously brought HEAD version in 5-9 branch

    • -1335
    • +1493
    ./utilities-procs.tcl
Use ad_urlencode_path and ad_urlencode_query instead of ns_urlencode in export_vars and export_entire_form_as_url_vars.

This way URL is encoded properly and we avoid a bug when variables called "--" or with value "--" are exported.

    • -1493
    • +1335
    ./utilities-procs.tcl
Use ad_urlencode_path and ad_urlencode_query instead of ns_urlencode in export_vars and export_entire_form_as_url_vars.

This way URL is encoded properly and we avoid a bug when variables called "--" or with value "--" are exported.

- use [util_current_location] instead of host-header field to show

correct host also when no host header field is available

- use wildcard matching for driver names to detect protocol

in case multiple drivers of the same type are loaded with

names with different suffixes

- fix util::split_location

- truncate overlong lines in ad_get_tcl_call_stack

  1. … 1 more file in changeset.
- include peer address in ad_log message