escape URLs

This commit is contained in:
Stanley Dimant
2024-09-06 12:36:54 +02:00
parent fdabc7d8fa
commit 1a672afa5f
2 changed files with 5 additions and 5 deletions

View File

@@ -233,13 +233,13 @@ public partial class MareWizardModule
services.DiscordVerifiedUsers[userid] = false;
_logger.LogInformation("Could not verify {userid} from lodestone {lodestone}, did not find authString: {authString}, status code was: {code}",
userid, services.DiscordLodestoneMapping[userid], authString, response.StatusCode);
await _botServices.LogToChannel($"<@{userid}> REGISTER VERIFY: Failed: No Authstring. ({url})").ConfigureAwait(false);
await _botServices.LogToChannel($"<@{userid}> REGISTER VERIFY: Failed: No Authstring. (<{url}>)").ConfigureAwait(false);
}
}
else
{
_logger.LogWarning("Could not verify {userid}, HttpStatusCode: {code}", userid, response.StatusCode);
await _botServices.LogToChannel($"<@{userid}> REGISTER VERIFY: Failed: HttpStatusCode {response.StatusCode}. ({url})").ConfigureAwait(false);
await _botServices.LogToChannel($"<@{userid}> REGISTER VERIFY: Failed: HttpStatusCode {response.StatusCode}. (<{url}>)").ConfigureAwait(false);
}
}
}