• last updated 18 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- set port to default-port when switching proto to https behind a proxy

    • -1257
    • +1258
    ./utilities-procs.tcl
  1. … 1 more file in changeset.
- fix default

- prefer ns_quotehtml

- add editor hints to keep spaces/tabs in the furture more consistent

  1. … 754 more files in changeset.
- balance brackets

- fix potential problem when value is "--"

- prefer ns_quotehtml over ad_quotehtml

- remove globals for errorInfo/errorCode and use namespace qualifiers instead

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

  1. … 5 more files in changeset.
- ensure proper encoding of hrefs

  1. … 13 more files in changeset.
- backport of fix for issue #3250

- fix for issue #3250

  1. … 1 more file in changeset.
- provde "ad_urlencode_query" similar to "ad_urlencode_path"

- map exporting of form-vars to quer-vars more robust (for values starting with dashes)

- fix typo

- fix typo

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.
- add convenience function ad_tmpdir

- replace deprecated ns_tmpnam by ad_tmpdirname or ad_tmpdir

  1. … 3 more files in changeset.
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 assume that the global variable errorInfo is always set

Renamed util::unzip_file to util::unzip and util::zip_file to util::zip. Fixed procedure call in file-storage

  1. … 1 more file in changeset.
Added util::unzip_file utility

Use full command path when invoking zip utility. Also check for zip presence on the system.

Introduced new util::zip_file command to create zip files programmatically in an OS independent manner.

  1. … 1 more file in changeset.
- mark more of the functions as deprecated which are not called

by the major 80 packages and for which popular alternatives exist

* pkg_home (-> acs_package_root_dir)

* ad_get_user_info (-> acs_user::get)

* exists_or_null (-> tcl builtins)

* lmap (danger, this function is a built-in of Tcl 8.6)

* template::util::server_root (-> $::acs::rootdir)

* template::util::display_value (-> ns_log)

* template::util::proper_noun (-> string totitle)

* template::util::string_range (-> string range)

* template::util::get_cookie (-> ad_get_cookie)

* template::util::set_cookie (-> ad_set_cookie)

* template::util::clear_cookie (-> ad_set_cookie)

- util_wrap_list: fix bug, when length of first word less then indent

(space was missing)

  1. … 5 more files in changeset.
- mark functions as deprecated which are called only by deprecated functions

  1. … 2 more files in changeset.
- remove last occurence of call to deprecated code (util_ReturnMetaRefresh)

- code did not work behind reverse proxy, did not use more general secure_conn_p

- tested with recent versions of IE

- please complain, in case your experience a problem, we find a solution

- change spelling of TCL to Tcl

- change requirements to Tcl 8.5

  1. … 64 more files in changeset.
- moved util_link_responding_p and util_get_http_status to

http-client-procs and based it on util::http::*.

- marked util_link_responding_p and util_get_http_status as

deprecated, moved a new version into the util::* namespace

and turned positional arguments into non-positional

  1. … 1 more file in changeset.
- add new utility-function for en/decoding the "path" part using the url-encding scheme as define in RFC 3986. The functions are defined as stubs for backward compatibility for aolserver, since aolserver uses always the same encoding

- use ad_urlencode_path in file-storage where necessary

- some cleanup

  1. … 1 more file in changeset.
- include pid of child process as well in error message

- with_finally: include exit code in error message in case we have a CHILDSTATUS error