From 808bc955cd292f9763c33a16fee1accb540cbf86 Mon Sep 17 00:00:00 2001 From: Christian Hofstaedtler Date: Mon, 19 May 2014 17:48:41 +0200 Subject: [PATCH] API: Fix decoding of symbols =2F needs to be a slash, but we thought it was a #. --- pdns/ws-api.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/ws-api.cc b/pdns/ws-api.cc index 759bb39e1c..98d63c8672 100644 --- a/pdns/ws-api.cc +++ b/pdns/ws-api.cc @@ -237,7 +237,7 @@ string apiZoneIdToName(const string& id) { } else { throw HttpBadRequestException(); } - c = c * 10; + c = c * 16; // decode unit place if (id[pos+2] >= '0' && id[pos+2] <= '9') { -- 2.47.2