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 b55fb39 commit 9daf54bCopy full SHA for 9daf54b
dotnet/src/dotnetframework/GxClasses/Core/GXApplication.cs
@@ -1301,7 +1301,13 @@ public bool IsForward()
1301
1302
public bool isCrawlerRequest_impl()
1303
{
1304
- string query = _HttpContext?.Request?.QueryString.ToString();
+ string query;
1305
+#if NETCORE
1306
+ QueryString? queryString = (_HttpContext?.Request?.QueryString);
1307
+ query = queryString.HasValue ? queryString.Value.ToString() : null;
1308
+#else
1309
+ query = _HttpContext?.Request?.QueryString.ToString();
1310
+#endif
1311
return !string.IsNullOrEmpty(query) && query.Contains("_escaped_fragment_");
1312
}
1313
0 commit comments