Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
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
Léo-Paul Géneau
gitlab-ce
Commits
f8c0ccb1
Commit
f8c0ccb1
authored
Jul 07, 2017
by
Tiago Botelho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Username and password are no longer stripped from import url on import
parent
5198cd28
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
app/models/project.rb
app/models/project.rb
+5
-0
changelogs/unreleased/username-password-stripped-from-import-url-fix.yml
...leased/username-password-stripped-from-import-url-fix.yml
+4
-0
No files found.
app/models/project.rb
View file @
f8c0ccb1
...
@@ -536,6 +536,11 @@ class Project < ActiveRecord::Base
...
@@ -536,6 +536,11 @@ class Project < ActiveRecord::Base
ProjectCacheWorker
.
perform_async
(
self
.
id
)
ProjectCacheWorker
.
perform_async
(
self
.
id
)
end
end
remove_import_data
end
# This method is overriden in EE::Project model
def
remove_import_data
import_data
&
.
destroy
import_data
&
.
destroy
end
end
...
...
changelogs/unreleased/username-password-stripped-from-import-url-fix.yml
0 → 100644
View file @
f8c0ccb1
---
title
:
Username and password are no longer stripped from import url on mirror update
merge_request
:
12725
author
:
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