[j-nsp] SLAX/Curl is html-entity-encoding content

Phil Shafer phil at juniper.net
Wed Feb 3 14:50:29 EST 2016


Ola Thoresen writes:
>It seems to work OK, except that the content is "html-encoded", which 
>causes errors when "the other end" don't expect it.

Use the "uexpr" statement to avoid escaping:

http://juniper.github.io/libslax/slax-manual.html#uexpr

    <contents> {
       uexpr $query;
    }

Deep knowledge is here:

https://www.w3.org/TR/xslt#disable-output-escaping

Thanks,
 Phil


More information about the juniper-nsp mailing list