Commit Graph

3 Commits (0c40e600a275d490481cfeea53705810fbe94d9b)

Author SHA1 Message Date
Joe Chen c947affcfa api: clean file path for updating repo contents (#7859)
## Describe the pull request

Link to the issue: closes https://github.com/gogs/gogs/issues/7582
2024-12-22 16:55:01 -05:00
Joe Chen 2ca014250f
pathutil: check both styles of `os.PathSeparator` (#7020) 2022-06-07 20:34:46 +08:00
ᴜɴᴋɴᴡᴏɴ ce1ec81d6f
repo/editor: clean up tree path
Fixes a security issue reported by @zeripath.
2020-02-19 23:45:02 +08:00