Please allocate the destination buffer keeping in mind that a decoded special character will take up 2 less bytes than its encoded form. In the worst-case scenario, the destination buffer will have to be the same size that of the source string.
Examples
example_uri_decode() is referenced by 1 libraries and example projects: