Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

项目文件存在特殊名称会导致gogs页面报错打不开 #7627

Open
1 task done
belongwqz opened this issue Dec 19, 2023 · 1 comment
Open
1 task done

项目文件存在特殊名称会导致gogs页面报错打不开 #7627

belongwqz opened this issue Dec 19, 2023 · 1 comment
Labels
💊 bug Something isn't working

Comments

@belongwqz
Copy link

belongwqz commented Dec 19, 2023

Gogs version

0.13.0

Git version

  • Server:
  • Client: 2.31.1

Operating system

rhel

Database

mysql 5.7

Describe the bug

当项目存在特殊名的文件,比如test - 副本 - 副本.txt,推送到仓库之后,仓库的页面会报错,提示An error has occurred : get commit by path "test - \\345\\211\\257\\346\\234\\254 - \\345\\211\\257\\346\\234\\254.txt": revision does not exist

To reproduce

正常建仓,添加一个文件名为test - 副本 - 副本.txt,push进去。打开gogs项目页面观察是否报错。

Expected behavior

正常打开页面

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@belongwqz belongwqz added the 💊 bug Something isn't working label Dec 19, 2023
@belongwqz
Copy link
Author

经验证,与环境的LANG环境有关,是否gogs支持设置编码类型

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💊 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant