• last updated 11 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
perform javascript escaping with more regular semantics

  1. … 1 more file in changeset.
Introduce new ad_js_escape with the purpose of sanitizing tcl strings used inside javascript code from escape sequences and from quotes in particular and provide some test cases

TODO: consider its usage into templates when e.g. we are putting a URL into javascript functions such as acs_ListBulkActionClick. URLs might in fact contain single and double quotes.

  1. … 1 more file in changeset.
improve source code documentation of ad_html_qualify_links and add test cases

  1. … 1 more file in changeset.
improve spelling

  1. … 6 more files in changeset.
Overhaul of test cases:

- make tested API calls explict

- reduce dependency on twt

  1. … 18 more files in changeset.
fix regression test for confusing setup with wildcard IPv4 address and host name "localhost", but localhost is resolved on the host as IPv6 address

Fix typo

New utility ad_pad emulating both lpad and rpad tipically available in DBMSs

  1. … 1 more file in changeset.
- provide test case for html-to-text conversion

- provide a version of html-to-text based on ns_reflow_text

  1. … 2 more files in changeset.
merged changes from the oacs-5-9 branch and resolved conflicts

  1. … 7834 more files in changeset.
- show the URL which is to be retrieved, in the log

- new utility to try 'fixing' invalid HTML

- fixed recognition of protocol agnostic urls

- use location from connection context and configurations to determine whether full urls are local

- optionally use new utility when plain parsing fails to try accepting a broader kind of invalid markup

- some update in test cases

- rename of the utilities with the 'dom' prefix, to make clear that this is the dom approach for sanitizing markup.

As it is sometimes prone to format and content loss, its use should be carefully considered.

  1. … 1 more file in changeset.
Improved behavior on links by using RFC compliant URL recognition.

Created (working) test cases

  1. … 1 more file in changeset.
file text-html-procs.tcl was initially added on branch oacs-5-9.