Juha Heinanen writes:
you are correct. i'll take a look if received param value could be easily unescaped when it is stored in usrloc.
i moved this tread to sr-dev. there is in lib/kcore/strcommon.c an unescape functiont that most likely could be used, bur when i tried to build new image, i got an error:
$ make LD (cc) [sip-proxy] sip-proxy parser/parse_param.o: In function `parse_contact_class': /usr/src/trunk-src/openxg-sip-proxy/parser/parse_param.c:162: undefined reference to `unescape_user' collect2: error: ld returned 1 exit status
does anyone know where in the makefile system -lkcore should be added so that this function would be found by loaded? there is no Makefile in parser dir.
-- juha
Juha Heinanen writes:
i moved this tread to sr-dev. there is in lib/kcore/strcommon.c an unescape functiont that most likely could be used, bur when i tried to build new image, i got an error:
i could not use that function because it didn't support unescaping "in situ". for some reason, it terminated the result with 0 and thus potentially output was longer than input.
-- juha