Fix: Git Raw URL 한글 경로 URL 인코딩 추가

- NotionSyncSettings.GetGitRawUrl() 메서드 수정
- 경로의 각 세그먼트를 Uri.EscapeDataString()으로 인코딩
- 슬래시(/)는 유지하면서 한글 문자만 인코딩
- 예: [공용]루프탑 카페 → %5B%EA%B3%B5%EC%9A%A9%5D%EB%A3%A8%ED%94%84%ED%83%91%20%EC%B9%B4%ED%8E%98

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
user 2026-01-08 01:36:39 +09:00
parent 010beaea75
commit 2eb039e7ae
6 changed files with 12 additions and 3 deletions

Binary file not shown.

View File

@ -1,3 +1,4 @@
using System;
using UnityEngine;
namespace Streamingle.Background.Editor
@ -48,7 +49,15 @@ namespace Streamingle.Background.Editor
// Gitea Raw URL 형식: {serverUrl}/{repoPath}/raw/branch/{branch}/{filePath}
string relativePath = assetPath.Replace("\\", "/");
return $"{gitServerUrl}/{gitRepoPath}/raw/branch/{gitBranch}/{relativePath}";
// 경로의 각 세그먼트를 URL 인코딩 (슬래시는 유지)
string[] segments = relativePath.Split('/');
for (int i = 0; i < segments.Length; i++)
{
segments[i] = Uri.EscapeDataString(segments[i]);
}
string encodedPath = string.Join("/", segments);
return $"{gitServerUrl}/{gitRepoPath}/raw/branch/{gitBranch}/{encodedPath}";
}
/// <summary>