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