• last updated 23 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
improve spelling

extend tests and pinpoint essesntials

Cleanup smelly comment: we don't need to catch the error, if it fails it fails and the application should handle it

Minimize and corrrect test: strings containing the null character are expected to fail when fed to the DBMS, even when quoted

New automated test

file db-quoting-test.txt was initially added on branch oacs-5-10.

    • -0
    • +0
    ./test/data/db-quoting-test.txt
Provide a fallback for vhost_url in ad_conn for code executed before this value has been set by the request processor

use "ns_strcoll" for ordered composite when available

  1. … 1 more file in changeset.
include timing information in DEBUG lines only, when nsf was configured properly with it

  1. … 1 more file in changeset.
Deprecate template::util::tcl_to_sql_list, completely replaced by ns_dbquotelist, a native NaviServer command

  1. … 17 more files in changeset.
use icanuse machinery for "ns_reflow_text -offset"

improve comment

Streamline idiom

Whitespace cleanup

extend test cases

Modernize parameter parsing (query and includelet paramters)

- handle invalid UTF-8 exception that might be triggered by

"ns_parsequery" in newer versions of NaviServer

- the new code is about 4 times faster than the old one

- replaced array by dict

- don't create helper procs on the fly but use "nsf::parseargs" if possible

- added icanuse rules for

* "nsf::parseargs -asdict"

* "ns_parsequery -charset"

  1. … 1 more file in changeset.
improve comment

align to the usual naming convention (use "_not_cached" suffix)

mark uncalled function as deprecated

added comments and portlets locations for default ports

security::locations: return configured servers from the driver/servers section

additionally, improve caching

Quote URL in the redirect

ease tracking of warnings of check_deprecated test

This change actually needs the newest api-doc, but we can't add the cyclic dependency

switch to new lintian typo dictionary, adapted to the new format

    • -7673
    • +590
    ./test/doc-check-procs-common-typos.txt
added icanuse for "ns_pg pid"

Ease the transition from no_empty to no_cache flag on this public api

avoid errors on attacks against request header field "Upgrade-Insecure-Requests"

Extended LockfreeCache:

- Feneralized flag "-no_empty" of "LockfreeCache eval" to "-no_cache LIST"

The provided list can contain multiple values that should not be cached.

- The new parameter "-from_cache_indicator" can be used to return information

whether the returned value was returned from the cache or not.

  1. … 1 more file in changeset.
provide as well a minimal compatibility for "-size" parameter on ns_baseunit

added a partial backwards compatibility implementation of for ns_baseunit (as used in request processor)