We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f32f64 commit 9b3fbcdCopy full SHA for 9b3fbcd
Src/Notion.Client/http/QueryHelpers.cs
@@ -1,8 +1,8 @@
1
using System;
2
using System.Collections.Generic;
3
using System.Linq;
4
+using System.Net;
5
using System.Text;
-using System.Text.Encodings.Web;
6
7
namespace Notion.Client.http
8
{
@@ -77,9 +77,9 @@ private static string AddQueryString(
77
foreach (var parameter in queryParams)
78
79
sb.Append(hasQuery ? '&' : '?');
80
- sb.Append(UrlEncoder.Default.Encode(parameter.Key));
+ sb.Append(WebUtility.UrlEncode(parameter.Key));
81
sb.Append('=');
82
- sb.Append(UrlEncoder.Default.Encode(parameter.Value));
+ sb.Append(WebUtility.UrlEncode(parameter.Value));
83
hasQuery = true;
84
}
85
0 commit comments