Selenium Tests

This commit is contained in:
natan
2024-04-22 10:15:56 +02:00
parent f9f6dfee6b
commit 0fefb316eb
17 changed files with 333 additions and 109 deletions
@@ -224,8 +224,19 @@ namespace Duplicati.Server.WebServer.RESTMethods
{
string url;
using(var sr = new System.IO.StreamReader(info.Request.Body, System.Text.Encoding.UTF8, true))
url = sr.ReadToEnd();
using (var sr = new System.IO.StreamReader(info.Request.Body, System.Text.Encoding.UTF8, true))
{
try
{
url = sr.ReadToEnd();
}
catch (InvalidOperationException)
{
url = sr.ReadLineAsync().Result;
}
}
Console.WriteLine(url);
switch (key)
{