How to use sanitize fields for json output

Herwin Weststrate herwin at quarantainenet.nl
Mon Nov 12 10:29:08 CET 2018


On 12-11-18 08:35, Enrico Polesel wrote:
>>
>> however, are you sure your server was built with json support?
>>
> 
> I think so because jsonquote is working, but I should check the build
> process. I compile myself the deb packages using the instruction of this
> page: https://wiki.freeradius.org/building/Debian%20and%20Ubuntu

Building Debian packages requires you to have all the development
libraries available, so this ensures JSON support


> Just as a note, it may be useful to move the jsonquote xlat from the rest
> module to the server core since I think that uses like mine aren't too
> exotic.

Version 4.0 has (will have) this extracted to a rlm_json. I don't think
if would be a very bad idea to backport this to v3.0.x.

-- 
Herwin Weststrate


More information about the Freeradius-Users mailing list