Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
OHR Support
Manage
Activity
Members
Labels
Plan
Issues
97
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Projects
OHR Support
Commits
4fbd866a
Commit
4fbd866a
authored
13 years ago
by
Holger Just
Browse files
Options
Downloads
Plain Diff
Merge branch 'release-v1.5.5' into stable-1.x
parents
b2bbc1cb
4b8cfa08
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
doc/CHANGELOG.rdoc
+4
-0
4 additions, 0 deletions
doc/CHANGELOG.rdoc
extra/svn/Redmine.pm
+5
-3
5 additions, 3 deletions
extra/svn/Redmine.pm
lib/redmine/version.rb
+1
-1
1 addition, 1 deletion
lib/redmine/version.rb
with
10 additions
and
4 deletions
doc/CHANGELOG.rdoc
+
4
−
0
View file @
4fbd866a
= ChiliProject changelog
== 2011-11-30 v1.5.5
* Bug #709: Redmine.pm potential security issue with cache credential enabled and subversion
== 2011-10-31 v1.5.4
* Bug #647: XSS: User input for images is not properly sanitized
...
...
This diff is collapsed.
Click to expand it.
extra/svn/Redmine.pm
+
5
−
3
View file @
4fbd866a
...
...
@@ -438,10 +438,12 @@ sub is_member {
my
$pass_digest
=
Digest::SHA1::
sha1_hex
(
$redmine_pass
);
my
$access_mode
=
request_is_read_only
(
$r
)
?
"
R
"
:
"
W
";
my
$cfg
=
Apache2::Module::
get_config
(
__PACKAGE__
,
$r
->
server
,
$r
->
per_dir_config
);
my
$usrprojpass
;
if
(
$cfg
->
{
RedmineCacheCredsMax
})
{
$usrprojpass
=
$cfg
->
{
RedmineCacheCreds
}
->
get
(
$redmine_user
.
"
:
"
.
$project_id
);
$usrprojpass
=
$cfg
->
{
RedmineCacheCreds
}
->
get
(
$redmine_user
.
"
:
"
.
$project_id
.
"
:
"
.
$access_mode
);
return
1
if
(
defined
$usrprojpass
and
(
$usrprojpass
eq
$pass_digest
));
}
my
$query
=
$cfg
->
{
RedmineQuery
};
...
...
@@ -484,10 +486,10 @@ sub is_member {
if
(
$cfg
->
{
RedmineCacheCredsMax
}
and
$ret
)
{
if
(
defined
$usrprojpass
)
{
$cfg
->
{
RedmineCacheCreds
}
->
set
(
$redmine_user
.
"
:
"
.
$project_id
,
$pass_digest
);
$cfg
->
{
RedmineCacheCreds
}
->
set
(
$redmine_user
.
"
:
"
.
$project_id
.
"
:
"
.
$access_mode
,
$pass_digest
);
}
else
{
if
(
$cfg
->
{
RedmineCacheCredsCount
}
<
$cfg
->
{
RedmineCacheCredsMax
})
{
$cfg
->
{
RedmineCacheCreds
}
->
set
(
$redmine_user
.
"
:
"
.
$project_id
,
$pass_digest
);
$cfg
->
{
RedmineCacheCreds
}
->
set
(
$redmine_user
.
"
:
"
.
$project_id
.
"
:
"
.
$access_mode
,
$pass_digest
);
$cfg
->
{
RedmineCacheCredsCount
}
++
;
}
else
{
$cfg
->
{
RedmineCacheCreds
}
->
clear
();
...
...
This diff is collapsed.
Click to expand it.
lib/redmine/version.rb
+
1
−
1
View file @
4fbd866a
...
...
@@ -4,7 +4,7 @@ module Redmine
module
VERSION
#:nodoc:
MAJOR
=
1
MINOR
=
5
PATCH
=
4
PATCH
=
5
TINY
=
PATCH
# Redmine compat
def
self
.
revision
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment