]> source.dussan.org Git - gitea.git/commit
Fix push-to-create (#9772) (#9797)
authorJohn Olheiser <42128690+jolheiser@users.noreply.github.com>
Thu, 16 Jan 2020 05:40:37 +0000 (23:40 -0600)
committerLauris BH <lauris@nix.lv>
Thu, 16 Jan 2020 05:40:37 +0000 (07:40 +0200)
commit3521177a34aea902156e963b20206d174e4daa0a
tree079901cf5616981e55cb676ce1cdaecc11d76ae5
parentc8bb0ecf52f6da087cbcfc9afb01d62328241f7d
Fix push-to-create (#9772) (#9797)

* Fix push-to-create

Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Check URL path and service

Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Send dummy payload on receive-pack GET

Signed-off-by: jolheiser <john.olheiser@gmail.com>
* The space was actually a NUL byte

Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Use real bare repo instead of manufactured payload

Signed-off-by: jolheiser <john.olheiser@gmail.com>
Co-authored-by: zeripath <art27@cantab.net>
routers/repo/http.go