Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Stop decoding all fields but DESC as they are not encoded anyway
Baptiste Daroussin committed 12 years ago
commit 1c506f85e8adbf18bd23955fac8487d136965fc8
parent 40b9cc9
1 file changed +4 -1
modified libpkg/pkg_manifest.c
@@ -290,7 +290,10 @@ pkg_string(struct pkg *pkg, ucl_object_t *obj, int attr)
		}
		break;
	default:
-
		ret = urldecode(str, &pkg->fields[attr]);
+
		if (attr == PKG_DESC)
+
			ret = urldecode(str, &pkg->fields[attr]);
+
		else
+
			ret = pkg_set(pkg, attr, str);
		break;
	}