BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
6cf7dd62
Commit
6cf7dd62
authored
Apr 10, 2015
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix persistent XSS vulnerability around profile website URLs.
parent
24d139ba
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
CHANGELOG
CHANGELOG
+2
-0
user.rb
app/models/user.rb
+2
-2
No files found.
CHANGELOG
View file @
6cf7dd62
Please view this file on the master branch, on stable branches it's out of date.
v 7.10.0 (unreleased)
- Fix persistent XSS vulnerability around profile website URLs.
- Fix broken file browsing with a submodule that contains a relative link (Stan Hu)
- Fix bug where Wiki pages that included a '/' were no longer accessible (Stan Hu)
- Fix bug where error messages from Dropzone would not be displayed on the issues page (Stan Hu)
- Add ability to configure Reply-To address in gitlab.yml (Stan Hu)
...
...
app/models/user.rb
View file @
6cf7dd62
...
...
@@ -486,13 +486,13 @@ class User < ActiveRecord::Base
end
def
full_website_url
return
"http://
#{
website_url
}
"
if
website_url
!~
/
^
https?:\/\//
return
"http://
#{
website_url
}
"
if
website_url
!~
/
\A
https?:\/\//
website_url
end
def
short_website_url
website_url
.
gsub
(
/
https?:\/\//
,
''
)
website_url
.
sub
(
/\A
https?:\/\//
,
''
)
end
def
all_ssh_keys
...
...
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