From 7e05f7d4d3bb3a9d35c6dae7564472a7125e76cb Mon Sep 17 00:00:00 2001 From: NepPure Date: Mon, 15 Jan 2024 10:10:52 +0000 Subject: [PATCH] rm cn --- Lagrange.OneBot/Core/Message/Entity/ImageSegment.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lagrange.OneBot/Core/Message/Entity/ImageSegment.cs b/Lagrange.OneBot/Core/Message/Entity/ImageSegment.cs index 6fb358d4f..1b8c1c943 100644 --- a/Lagrange.OneBot/Core/Message/Entity/ImageSegment.cs +++ b/Lagrange.OneBot/Core/Message/Entity/ImageSegment.cs @@ -30,7 +30,7 @@ public void Build(MessageBuilder builder, ISegment segment) if (imageSegment.Url.StartsWith("file")) { - // 修复windows下斜杠替换不完全导致的路径问题,同时兼容协议缩写的情况:https://github.com/LagrangeDev/Lagrange.Core/issues/69 + // see: https://github.com/LagrangeDev/Lagrange.Core/issues/69 string path = imageSegment.Url.Replace("file:///", ""); path = path.Replace("file://", ""); path = path.Replace("file:/", "");