file_util: implement urldecode_path()
authorJo-Philipp Wich <jo@mein.io>
Thu, 7 Dec 2017 13:23:00 +0000 (14:23 +0100)
committerRafał Miłecki <rafal@milecki.pl>
Fri, 8 Dec 2017 12:46:46 +0000 (13:46 +0100)
commit3c46c880df81a51ed44cfdd713a6734a245693a8
treee4d44ebe10dd8c37402918f2f02e8577440a3d0a
parent79908c2ba0f78fd1e6229f83dba1b2434beaedd9
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