Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-shell
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-shell
Commits
f1825156
Commit
f1825156
authored
Jan 13, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'github_importer' into 'master'
Github importer See merge request !51
parents
87feb100
1e85c7e7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
1 deletion
+5
-1
CHANGELOG
CHANGELOG
+3
-0
VERSION
VERSION
+1
-1
lib/gitlab_projects.rb
lib/gitlab_projects.rb
+1
-0
No files found.
CHANGELOG
View file @
f1825156
v2.4.1
- Access token masking in url before loging
v2.4.0
v2.4.0
- Show error message when git push is rejected
- Show error message when git push is rejected
...
...
VERSION
View file @
f1825156
2.4.
0
2.4.
1
lib/gitlab_projects.rb
View file @
f1825156
...
@@ -109,6 +109,7 @@ class GitlabProjects
...
@@ -109,6 +109,7 @@ class GitlabProjects
def
mask_password_in_url
(
url
)
def
mask_password_in_url
(
url
)
result
=
URI
(
url
)
result
=
URI
(
url
)
result
.
password
=
"*****"
unless
result
.
password
.
nil?
result
.
password
=
"*****"
unless
result
.
password
.
nil?
result
.
user
=
"*****"
unless
result
.
user
.
nil?
#it's needed for oauth access_token
result
result
rescue
rescue
url
url
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment