Commit aa9ed52e authored by Artem V. Navrotskiy's avatar Artem V. Navrotskiy

Do not clean LANG environment variable for the git hooks when working through the SSH-protocol

When cleaning this environment variable can be problems with the processing of non-ASCII data
parent c31e6165
v2.6.5 (unreleased)
- Do not clean LANG environment variable for the git hooks when working through the SSH-protocol
v2.6.4 v2.6.4
- Remove keys from authorized_keys in-place - Remove keys from authorized_keys in-place
- Increase batch_add_keys lock timeout to 300 seconds - Increase batch_add_keys lock timeout to 300 seconds
......
...@@ -122,6 +122,7 @@ class GitlabShell ...@@ -122,6 +122,7 @@ class GitlabShell
env = { env = {
'PATH' => ENV['PATH'], 'PATH' => ENV['PATH'],
'LD_LIBRARY_PATH' => ENV['LD_LIBRARY_PATH'], 'LD_LIBRARY_PATH' => ENV['LD_LIBRARY_PATH'],
'LANG' => ENV['LANG'],
'GL_ID' => @key_id 'GL_ID' => @key_id
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment