|
|
|
@ -4,6 +4,7 @@ class GitsController < ApplicationController
|
|
|
|
|
def auth
|
|
|
|
|
# HTTP_AUTHORIZATION: "Basic 这里base64编码的的密码(user:passwd)"
|
|
|
|
|
logger.info("11111112222223333#{request.env["HTTP_AUTHORIZATION"]}")
|
|
|
|
|
logger.info("11111112222223333: request is #{request}")
|
|
|
|
|
#logger.info("#########-----request_env: #{request.env}")
|
|
|
|
|
# {"service"=>"git-receive-pack", "controller"=>"gits", "action"=>"auth",
|
|
|
|
|
# "url"=>"forge01/cermyt39.git/info/refs"}
|
|
|
|
|