netcdf-c/oc2
Dennis Heimbigner 000f22b12a Fix encoding of a DAP2 constraint specified outside the URL.
re: github issue #1425

The 'ncdump -v' command causes a constraint to be sent
to the opendap code (in libdap2). This is a separate path
from specifying the constraint via a URL.

This separate path encoded its constraint using code independent
of and duplicative of that provided by ncuri.c and this duplicate
code did not properly encode the constraint, which might include
square brackets.

Solution chosen here was to get rid of the duplicate code and
ensure that all URL escaping is performed in the ncuribuild function
in the ncuri.c file.

Also removed the use of the NEWESCAPE conditional in ncuri.c
because it is no longer needed.
2019-07-14 15:56:29 -06:00
..
auth.html.in Misc. source comment typos 2018-04-26 23:04:01 -04:00
CMakeLists.txt nctest, oc2 files updated. 2018-12-06 15:47:47 -07:00
dap.y nctest, oc2 files updated. 2018-12-06 15:47:47 -07:00
daplex.c Thread safety: step 1: cleanup 2019-03-30 14:06:20 -06:00
dapparse.c nctest, oc2 files updated. 2018-12-06 15:47:47 -07:00
dapparselex.h nctest, oc2 files updated. 2018-12-06 15:47:47 -07:00
dapy.c Fix for github issue https://github.com/Unidata/netcdf-c/issues/310. 2017-06-28 13:51:01 -06:00
dapy.h Fix for Github issue 314. 2016-09-01 22:06:07 -06:00
dodsrc.example move from oc1.0 to oc2.0; create new dir oc2 2012-07-31 20:34:13 +00:00
Makefile.am nctest, oc2 files updated. 2018-12-06 15:47:47 -07:00
oc.c Thread safety: step 1: cleanup 2019-03-30 14:06:20 -06:00
oc.css Github issue 152: https://github.com/Unidata/netcdf-c/issues/152 2015-11-29 20:38:12 -07:00
oc.h Thread safety: step 1: cleanup 2019-03-30 14:06:20 -06:00
occompile.c Fix errors when building on big-endian machine 2019-01-31 21:13:06 -07:00
occompile.h nctest, oc2 files updated. 2018-12-06 15:47:47 -07:00
occonstraints.h nctest, oc2 files updated. 2018-12-06 15:47:47 -07:00
occurlflags.c nctest, oc2 files updated. 2018-12-06 15:47:47 -07:00
occurlfunctions.c nctest, oc2 files updated. 2018-12-06 15:47:47 -07:00
occurlfunctions.h nctest, oc2 files updated. 2018-12-06 15:47:47 -07:00
ocdata.c nctest, oc2 files updated. 2018-12-06 15:47:47 -07:00
ocdata.h nctest, oc2 files updated. 2018-12-06 15:47:47 -07:00
ocdatatypes.h nctest, oc2 files updated. 2018-12-06 15:47:47 -07:00
ocdebug.c nctest, oc2 files updated. 2018-12-06 15:47:47 -07:00
ocdebug.h nctest, oc2 files updated. 2018-12-06 15:47:47 -07:00
ocdump.c Thread safety: step 1: cleanup 2019-03-30 14:06:20 -06:00
ocdump.h nctest, oc2 files updated. 2018-12-06 15:47:47 -07:00
ochttp.c Add hack to deal with DAP2 signed byte hack. 2019-02-13 14:36:14 -07:00
ochttp.h nctest, oc2 files updated. 2018-12-06 15:47:47 -07:00
ocinternal.c Fix encoding of a DAP2 constraint specified outside the URL. 2019-07-14 15:56:29 -06:00
ocinternal.h nctest, oc2 files updated. 2018-12-06 15:47:47 -07:00
ocnode.c nctest, oc2 files updated. 2018-12-06 15:47:47 -07:00
ocnode.h nctest, oc2 files updated. 2018-12-06 15:47:47 -07:00
ocread.c nctest, oc2 files updated. 2018-12-06 15:47:47 -07:00
ocread.h nctest, oc2 files updated. 2018-12-06 15:47:47 -07:00
ocutil.c Thread safety: step 1: cleanup 2019-03-30 14:06:20 -06:00
ocutil.h Thread safety: step 1: cleanup 2019-03-30 14:06:20 -06:00
ocx.h nctest, oc2 files updated. 2018-12-06 15:47:47 -07:00
xxdr.c nctest, oc2 files updated. 2018-12-06 15:47:47 -07:00
xxdr.h nctest, oc2 files updated. 2018-12-06 15:47:47 -07:00