From 5a904eb0d58118fe9d6c8a3565f26a54ee5d2d9a Mon Sep 17 00:00:00 2001 From: Shreyas Zare Date: Sat, 16 Feb 2019 15:23:42 +0530 Subject: [PATCH] removed base64 encoding for api parameter. --- DnsServerCore/DnsWebService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DnsServerCore/DnsWebService.cs b/DnsServerCore/DnsWebService.cs index e6bc5c0d..f86b22da 100644 --- a/DnsServerCore/DnsWebService.cs +++ b/DnsServerCore/DnsWebService.cs @@ -1236,7 +1236,7 @@ namespace DnsServerCore { bool updated = false; - string[] strBlockListUrlList = Encoding.UTF8.GetString(Convert.FromBase64String(strBlockListUrls)).Split(new char[] { ',' }, StringSplitOptions.RemoveEmptyEntries); + string[] strBlockListUrlList = strBlockListUrls.Split(new char[] { ',' }, StringSplitOptions.RemoveEmptyEntries); if (oldWebServicePort != _webServicePort) {