json encoding (Freeradius 3.0.13)

Alan DeKok aland at deployingradius.com
Wed Nov 23 15:07:57 CET 2016


> On Nov 23, 2016, at 8:56 AM, Fabrice Durand <fdurand at inverse.ca> wrote:
> 
> Ok so i tested with the patch and it looks to be the same.
> 
> Wed Nov 23 08:40:39 2016 : Debug: (1)   Cisco-AVPair =
> "dhcp-option=\0007\000\r\001\017\003\006,./\037!y\371\374+"
> 
> Wed Nov 23 08:40:39 2016 : Debug: (1) rest:   Value  :
> "dhcp-option=\u00007\u0000\r\u0001\u000F\u0003\u0006,.\/\u001F!y\uFFFFFFF9\uFFFFFFFC+"
> 
> I also noticed in the code that the function vp_prints_value_json is use
> instead of jsonquote_xlat so i did the following patch:

  OK.  I've pushed the patches, thanks.

  Alan DeKok.




More information about the Freeradius-Users mailing list