[OpenSIPS-Devel] [OpenSIPS/opensips] 4072d9: CSV parser: Relax the RFC 4180 implementation
Liviu Chircu
noreply at github.com
Wed Aug 7 12:35:33 EDT 2019
Branch: refs/heads/2.4
Home: https://github.com/OpenSIPS/opensips
Commit: 4072d9e54e631b20e71d3abc181d1f329084c95b
https://github.com/OpenSIPS/opensips/commit/4072d9e54e631b20e71d3abc181d1f329084c95b
Author: Liviu Chircu <liviu at opensips.org>
Date: 2019-08-07 (Wed, 07 Aug 2019)
Changed paths:
M lib/csv.c
M lib/test/test_csv.c
Log Message:
-----------
CSV parser: Relax the RFC 4180 implementation
Do not implement RFC 4180 down to the letter (e.g. double-quotes are
ONLY allowed within a field if they are escaped using another
double-quote). Rather, only follow this rule if a field _begins_ with a
quote. This helps maintain backwards-compatibility with the previous
OpenSIPS CSV parser, and is also desirable in many situations (e.g.
parsing a WWW-Authenticate header).
Fixes #1794
More information about the Devel
mailing list