file_util: implement urldecode_path()
authorJo-Philipp Wich <jo@mein.io>
Thu, 7 Dec 2017 13:23:00 +0000 (14:23 +0100)
committerJo-Philipp Wich <jo@mein.io>
Thu, 7 Dec 2017 16:59:44 +0000 (17:59 +0100)
commit71c27cb3aee45ba22d3c7806401baf8a0dee3d94
treeffcb8d4e5635a995ea281b8b9810adfad694de2b
parentd1fe095d2c1463ca1e945028b15f57a256070a06
file_util: implement urldecode_path()

Introduce a new urldecode_path() helper to resolve percent-encoded URL
portions back into the original binary form.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
libopkg/file_util.c
libopkg/file_util.h