netcdf-c/libdap4
Dennis Heimbigner bc9e41ae2b 1. Fix bug in ocrc.c#combinecredentials where a null user+pwd
generates garbage. This in turn interferes with using .netrc
because the garbage user+pwd can will override the
.netrc. Note that this may work ok sometimes
if the garbage happens to start with a nul character.

2. It turns out that the user:pwd combination needs to support
character escaping. One reason is the user may contain an '@' character.
The other is that modern password rules make it not unlikely that
the password will contain characters that interfere with url parsing.
So, the rule I have implemented is that all occurrences of the user:pwd
format must escape any dodgy characters. The escape format is URL escaping
of the form %XX. This applies both to user:pwd
embedded in a URL as well as the use of HTTP.CREDENTIALS.USERPASSWORD
in a .dodsrc/.daprc file. The user and password in .netrc must not
be escaped. This is now documented in docs/auth.md

The fix for #2 actually obviated #1. Now, internally, the user and pwd
are stored separately and not in the user:pwd format. They are combined
(and escaped) only when needed.
2017-08-29 14:11:15 -06:00
..
CMakeLists.txt Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
d4bytes.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
d4bytes.h Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
d4chunk.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
d4chunk.h Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
d4crc32.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
d4curlflags.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
d4curlfunctions.c 1. Fix bug in ocrc.c#combinecredentials where a null user+pwd 2017-08-29 14:11:15 -06:00
d4curlfunctions.h 1. Fix bug in ocrc.c#combinecredentials where a null user+pwd 2017-08-29 14:11:15 -06:00
d4cvt.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
d4data.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
d4debug.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
d4debug.h Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
d4dump.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
d4file.c 1. Fix bug in ocrc.c#combinecredentials where a null user+pwd 2017-08-29 14:11:15 -06:00
d4fix.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
d4http.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
d4http.h Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
d4includes.h Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
d4meta.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
d4odom.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
d4odom.h Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
d4parser.c Corrected some potential buffer overruns flagged by clang via static analysis. 2017-08-15 12:19:05 -06:00
d4printer.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
d4rc.c 1. Fix bug in ocrc.c#combinecredentials where a null user+pwd 2017-08-29 14:11:15 -06:00
d4read.c Merge remote-tracking branch 'origin/d4tempfile.dmh' into v4.5.0-release-branch 2017-08-07 10:12:36 -06:00
d4read.h Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
d4swap.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
d4util.c 1. Fix bug in ocrc.c#combinecredentials where a null user+pwd 2017-08-29 14:11:15 -06:00
d4util.h Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
d4varx.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
ezxml_extra.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
ezxml.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
ezxml.h Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
Make0 Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
Makefile.am Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
ncd4.h 1. Fix bug in ocrc.c#combinecredentials where a null user+pwd 2017-08-29 14:11:15 -06:00
ncd4dispatch.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
ncd4dispatch.h Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
ncd4types.h 1. Fix bug in ocrc.c#combinecredentials where a null user+pwd 2017-08-29 14:11:15 -06:00