nsf

Clone Tools
  • last updated 15 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
whitespace change

WIP

protect legacy HTTPd against XSS on error messages

    • -2
    • +6
    /library/xotcl/library/comm/Httpd.xotcl
base package nx::zip on Tcl 8.6 builtins instead of relying on the Trf package

use "nonnull_assert" only in combination with "nonnull" declaration

Merge branch 'master' of ssh://alice.wu-wien.ac.at/usr/local/src/git-repo/nsf

* .travis.yml, appveyor.yml: Update build array to 8.6.9

* nsf-cmd.test: Make new tests 8.5-savy

* nsf.c (NsfProcStub): Re-order logic, so that the availability of a shadow proc cmd is tested first (re-fetch) and the parameter passing comes second, conditional on an available dispatch target.

* nsf-cmd.test: Add test rename (target) conflicts for the shadowed procs; improve test formatting

nsf.c (NsfStubProc): Improve comment formatting

* nsf-cmd.test: Modernize tests to work on error codes.

* nsf.c, nsf-cmd.test: Fixed nsf::procs for (unintended) deletes of the shadowed proc, plus test cases.

* nsf.c, nsf-cmd.test: Fixed nsf::procs for (unintended) deletes of the shadowed proc, plus test cases.

* nsf.c, nsfShadow.c (NsfProcStubDeleteProc, Nsf_RenameObjCmd): Provide for coupled renaming of the nsf::proc pairs; and coupled deletion.

* nsf.c, nsfShadow.c (NsfProcStubDeleteProc, Nsf_RenameObjCmd): Provide for coupled renaming of the nsf::proc pairs; and coupled deletion.

* nsf.c (NsfProcStub, InvokeShadowedProc): Provide for re-fetching (e.g., deleted) ::nsf::procs::* commands, to allow for renamed nsf::procs to run. * nsf-cmd.test: Added test to cover re-fetch

* nsf.c (NsfProcStub, InvokeShadowedProc): Provide for re-fetching (e.g., deleted) ::nsf::procs::* commands, to allow for renamed nsf::procs to run. * nsf-cmd.test: Added test to cover re-fetch

* nsf.c, nsfInt.h (NsfProcStub, NsfProcClientData): Apply namespace reform to nsf::procs, to prevent proc redefinition after a proc rename to fail. * nsf-cmd.test: Add test case to document/ to cover failing rename + redefine.

* nsf.c, nsfInt.h (NsfProcStub, NsfProcClientData): Apply namespace reform to nsf::procs, to prevent proc redefinition after a proc rename to fail. * nsf-cmd.test: Add test case to document/ to cover failing rename + redefine.

improve code documentation

remove unneeded assignment

reduce dead assignments and variable scopes

make sure, the restted path ends with a slash

    • -2
    • +2
    /library/xotcl/library/comm/Httpd.xotcl
security fix: avoid directory traversal attack in old XOTcl HTTP class

    • -0
    • +7
    /library/xotcl/library/comm/Httpd.xotcl
Remove src/build artifacts from nsfConfig.sh

regenerated configure script

improve handling of HAVE_INTTYPES_H under windows

make sure, macros HAVE_INTPTR_T and HAVE_UINTPTR_T are set (should probably upgrade to newer TEA version)

fix typo