urldecode procedure?

View thread

nimaimalle

There are many convenient string functions and procedures in the nxlog language, but I did not see one for urldecode. I have some data flowing through the web logs that the client is encoding, and it would be useful to have nxlog decode it. For example, something like:

    $data = urldecode("%61%6a%61%78%5f%66%6f%72%6d");   # $data = "ajax_form"

In addition to requesting that functionality, is there any workarounds you could suggest?