diff options
author | Unknwon <u@gogs.io> | 2016-07-08 13:57:09 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-07-08 13:57:09 +0800 |
commit | d62ab499784386935fa20152c1c163d0ef62d31a (patch) | |
tree | e6104d8b2768da112b2f0051a24efc1c12ae531a /gogs.go | |
parent | e30c7013862a9d2c2ae60e403a1624e54475c4c7 (diff) | |
download | gitea-d62ab499784386935fa20152c1c163d0ef62d31a.tar.gz gitea-d62ab499784386935fa20152c1c163d0ef62d31a.zip |
#3057 retrieve webhook with repo_id
This prevents user retrieve arbitrary webhook by changing URL to
access webhook from other unauthorized repositories.
Diffstat (limited to 'gogs.go')
-rw-r--r-- | gogs.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -17,7 +17,7 @@ import ( "github.com/gogits/gogs/modules/setting" ) -const APP_VER = "0.9.37.0708" +const APP_VER = "0.9.38.0708" func init() { runtime.GOMAXPROCS(runtime.NumCPU()) |