Commit Graph

4 Commits (main)

Author SHA1 Message Date
Joe Chen 9a9388ace2
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-14 21:30:34 -05:00
Joe Chen 9bf748b6c4
http: clean request path from Git endpoints (#7022) 2022-06-07 21:11:36 +08: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